home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 February: Tool Chest / Apple Developer CD Series Tool Chest February 1996 (Apple Computer)(1996).iso / Utilities / Apple DocViewer™ v1.1.1 / DocViewer Apple Events Info / DocViewer Lookup TechNote next >
MacBinary  |  1994-09-26  |  18.9 KB  |  [ONLN/HLX2]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
100% file MacBinary II, inited, Mon Sep 26 09:27:25 1994, modified Mon Sep 26 09:27:25 1994, creator 'HLX2', type 'ONLN', 17546 bytes "DocViewer Lookup TechNote" magic text fragment for file(1) cmd, 1st line "#004 New Apple Event Support in DocViewer 1.1.1", 2nd line " ", 3rd line "Introduction", 4th line "Beginning with version 1.1.1, Apple DocViewer supports a special Apple event. This Apple event is known as the "DocViewer Look", 5th line "p" event. With this event, it is possible to send a message to DocViewer requesting that it open a particular document and tur", at 0x450a 1433 bytes resource magic text fragment for file(1) cmd, 1st line "#004 New Apple Event Support in DocViewer 1.1.1", 2nd line " ", 3rd line "Introduction", 4th line "Beginning with version 1.1.1, Apple DocViewer supports a special Apple event. This Apple event is known as the "DocViewer Look", 5th line "p" event. With this event, it is possible to send a message to DocViewer requesting that it open a particular document and tur" default (weak)
99% file data default
100% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[ONLN]
macFileCreator[HLX2]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 19 44 6f 63 56 69 65 | 77 65 72 20 4c 6f 6f 6b |..DocVie|wer Look|
|00000010| 75 70 20 54 65 63 68 4e | 6f 74 65 00 00 00 00 00 |up TechN|ote.....|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 4f 4e 4c 4e 48 4c 58 | 32 01 00 00 00 00 00 00 |.ONLNHLX|2.......|
|00000050| 00 00 00 00 00 44 8a 00 | 00 05 99 aa ac 7c bd aa |.....D..|.....|..|
|00000060| ac 7c bd 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.|......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 9d 80 00 00 |........|........|
|00000080| 23 30 30 34 20 4e 65 77 | 20 41 70 70 6c 65 20 45 |#004 New| Apple E|
|00000090| 76 65 6e 74 20 53 75 70 | 70 6f 72 74 20 69 6e 20 |vent Sup|port in |
|000000a0| 44 6f 63 56 69 65 77 65 | 72 20 31 2e 31 2e 31 0d |DocViewe|r 1.1.1.|
|000000b0| 20 0d 49 6e 74 72 6f 64 | 75 63 74 69 6f 6e 0d 42 | .Introd|uction.B|
|000000c0| 65 67 69 6e 6e 69 6e 67 | 20 77 69 74 68 20 76 65 |eginning| with ve|
|000000d0| 72 73 69 6f 6e 20 31 2e | 31 2e 31 2c 20 41 70 70 |rsion 1.|1.1, App|
|000000e0| 6c 65 20 44 6f 63 56 69 | 65 77 65 72 20 73 75 70 |le DocVi|ewer sup|
|000000f0| 70 6f 72 74 73 20 61 20 | 73 70 65 63 69 61 6c 20 |ports a |special |
|00000100| 41 70 70 6c 65 20 65 76 | 65 6e 74 2e 20 20 54 68 |Apple ev|ent. Th|
|00000110| 69 73 20 41 70 70 6c 65 | 20 65 76 65 6e 74 20 69 |is Apple| event i|
|00000120| 73 20 6b 6e 6f 77 6e 20 | 61 73 20 74 68 65 20 22 |s known |as the "|
|00000130| 44 6f 63 56 69 65 77 65 | 72 20 4c 6f 6f 6b 75 70 |DocViewe|r Lookup|
|00000140| 22 20 65 76 65 6e 74 2e | 20 20 57 69 74 68 20 74 |" event.| With t|
|00000150| 68 69 73 20 65 76 65 6e | 74 2c 20 69 74 20 69 73 |his even|t, it is|
|00000160| 20 70 6f 73 73 69 62 6c | 65 20 74 6f 20 73 65 6e | possibl|e to sen|
|00000170| 64 20 61 20 6d 65 73 73 | 61 67 65 20 74 6f 20 44 |d a mess|age to D|
|00000180| 6f 63 56 69 65 77 65 72 | 20 72 65 71 75 65 73 74 |ocViewer| request|
|00000190| 69 6e 67 20 74 68 61 74 | 20 69 74 20 6f 70 65 6e |ing that| it open|
|000001a0| 20 61 20 70 61 72 74 69 | 63 75 6c 61 72 20 64 6f | a parti|cular do|
|000001b0| 63 75 6d 65 6e 74 20 61 | 6e 64 20 74 75 72 6e 20 |cument a|nd turn |
|000001c0| 74 6f 20 61 20 73 70 65 | 63 69 66 69 63 20 68 65 |to a spe|cific he|
|000001d0| 61 64 69 6e 67 2e 20 20 | 54 68 69 73 20 44 6f 63 |ading. |This Doc|
|000001e0| 56 69 65 77 65 72 20 54 | 65 63 68 20 4e 6f 74 65 |Viewer T|ech Note|
|000001f0| 20 64 65 73 63 72 69 62 | 65 73 20 74 68 65 20 69 | describ|es the i|
|00000200| 6d 70 6c 65 6d 65 6e 74 | 61 74 69 6f 6e 20 6f 66 |mplement|ation of|
|00000210| 20 74 68 69 73 20 65 76 | 65 6e 74 2e 20 20 50 6c | this ev|ent. Pl|
|00000220| 65 61 73 65 20 6e 6f 74 | 65 20 74 68 61 74 20 74 |ease not|e that t|
|00000230| 65 63 68 20 6e 6f 74 65 | 73 20 31 20 2d 20 33 20 |ech note|s 1 - 3 |
|00000240| 64 6f 20 6e 6f 74 20 61 | 64 64 72 65 73 73 20 74 |do not a|ddress t|
|00000250| 68 65 20 56 69 65 77 65 | 72 20 70 6f 72 74 69 6f |he Viewe|r portio|
|00000260| 6e 20 6f 66 20 44 6f 63 | 56 69 65 77 65 72 20 61 |n of Doc|Viewer a|
|00000270| 6e 64 20 61 72 65 20 6f | 6e 6c 79 20 61 76 61 69 |nd are o|nly avai|
|00000280| 6c 61 62 6c 65 20 74 6f | 20 6c 69 63 65 6e 73 65 |lable to| license|
|00000290| 65 73 20 6f 66 20 74 68 | 65 20 41 70 70 6c 65 20 |es of th|e Apple |
|000002a0| 44 6f 63 56 69 65 77 65 | 72 20 42 75 69 6c 64 65 |DocViewe|r Builde|
|000002b0| 72 2e 0d 44 6f 63 56 69 | 65 77 65 72 4c 6f 6f 6b |r..DocVi|ewerLook|
|000002c0| 75 70 2e 68 0d 41 63 63 | 6f 6d 70 61 6e 79 69 6e |up.h.Acc|ompanyin|
|000002d0| 67 20 74 68 69 73 20 54 | 65 63 68 20 4e 6f 74 65 |g this T|ech Note|
|000002e0| 20 69 73 20 61 20 43 20 | 68 65 61 64 65 72 20 66 | is a C |header f|
|000002f0| 69 6c 65 20 66 6f 72 20 | 6d 61 6e 79 20 6f 66 20 |ile for |many of |
|00000300| 74 68 65 20 63 6f 6e 73 | 74 61 6e 74 73 20 61 6e |the cons|tants an|
|00000310| 64 20 64 61 74 61 20 73 | 74 72 75 63 74 75 72 65 |d data s|tructure|
|00000320| 73 20 20 79 6f 75 20 77 | 69 6c 6c 20 6e 65 65 64 |s you w|ill need|
|00000330| 20 77 68 65 6e 20 69 6e | 74 65 72 61 63 74 69 6e | when in|teractin|
|00000340| 67 20 70 72 6f 67 72 61 | 6d 6d 61 74 69 63 61 6c |g progra|mmatical|
|00000350| 6c 79 20 77 69 74 68 20 | 44 6f 63 56 69 65 77 65 |ly with |DocViewe|
|00000360| 72 2e 0d 45 76 65 6e 74 | 20 50 61 72 61 6d 65 74 |r..Event| Paramet|
|00000370| 65 72 73 0d 54 68 65 20 | 4c 6f 6f 6b 75 70 20 65 |ers.The |Lookup e|
|00000380| 76 65 6e 74 20 61 63 63 | 65 70 74 73 20 74 68 72 |vent acc|epts thr|
|00000390| 65 65 20 70 61 72 61 6d | 65 74 65 72 73 2e 20 20 |ee param|eters. |
|000003a0| 54 68 65 73 65 20 70 61 | 72 61 6d 65 74 65 72 73 |These pa|rameters|
|000003b0| 20 61 72 65 20 65 6e 63 | 61 70 73 75 6c 61 74 65 | are enc|apsulate|
|000003c0| 64 20 69 6e 74 6f 20 61 | 20 73 69 6e 67 6c 65 20 |d into a| single |
|000003d0| 64 61 74 61 20 73 74 72 | 75 63 74 75 72 65 20 66 |data str|ucture f|
|000003e0| 6f 72 20 74 68 69 73 20 | 76 65 72 73 69 6f 6e 2e |or this |version.|
|000003f0| 20 20 28 57 65 20 77 69 | 6c 6c 20 70 61 72 61 6d | (We wi|ll param|
|00000400| 65 74 65 72 69 7a 65 20 | 74 68 65 6d 20 61 74 20 |eterize |them at |
|00000410| 74 68 65 20 41 70 70 6c | 65 20 65 76 65 6e 74 20 |the Appl|e event |
|00000420| 6c 65 76 65 6c 20 66 6f | 72 20 74 68 65 20 6e 65 |level fo|r the ne|
|00000430| 78 74 20 72 65 6c 65 61 | 73 65 2e 29 20 20 54 68 |xt relea|se.) Th|
|00000440| 69 73 20 64 61 74 61 20 | 73 74 72 75 63 74 75 72 |is data |structur|
|00000450| 65 20 69 73 20 74 68 65 | 20 6f 6e 6c 79 20 70 61 |e is the| only pa|
|00000460| 72 61 6d 65 74 65 72 20 | 6f 66 20 74 68 65 20 41 |rameter |of the A|
|00000470| 70 70 6c 65 20 65 76 65 | 6e 74 2e 20 20 54 68 65 |pple eve|nt. The|
|00000480| 20 73 74 72 75 63 74 75 | 72 65 20 69 73 20 64 65 | structu|re is de|
|00000490| 66 69 6e 65 64 20 61 73 | 3a 0d 74 79 70 65 64 65 |fined as|:.typede|
|000004a0| 66 09 73 74 72 75 63 74 | 20 7b 0d 09 46 53 53 70 |f.struct| {..FSSp|
|000004b0| 65 63 09 61 44 6f 63 3b | 09 09 09 2f 2f 09 46 53 |ec.aDoc;|...//.FS|
|000004c0| 53 70 65 63 20 66 6f 72 | 20 74 68 65 20 44 6f 63 |Spec for| the Doc|
|000004d0| 20 74 6f 20 6f 70 65 6e | 2f 73 65 61 72 63 68 0d | to open|/search.|
|000004e0| 09 53 74 72 32 35 35 09 | 61 50 61 74 74 65 72 6e |.Str255.|aPattern|
|000004f0| 3b 09 2f 2f 09 53 74 72 | 69 6e 67 20 69 6e 20 68 |;.//.Str|ing in h|
|00000500| 65 61 64 69 6e 67 20 74 | 6f 20 66 69 6e 64 20 28 |eading t|o find (|
|00000510| 6c 65 6e 67 74 68 20 09 | 09 09 09 09 09 09 09 2f |length .|......./|
|00000520| 2f 20 70 72 65 66 69 78 | 65 64 29 0d 09 73 68 6f |/ prefix|ed)..sho|
|00000530| 72 74 09 09 61 63 63 65 | 73 73 4c 65 76 65 6c 3b |rt..acce|ssLevel;|
|00000540| 2f 2f 09 66 69 6e 64 20 | 6c 65 76 65 6c 20 0d 7d |//.find |level .}|
|00000550| 53 65 65 6b 50 61 72 61 | 6d 52 65 63 2c 20 2a 53 |SeekPara|mRec, *S|
|00000560| 65 65 6b 50 61 72 61 6d | 52 65 63 50 74 72 2c 20 |eekParam|RecPtr, |
|00000570| 2a 2a 53 65 65 6b 50 61 | 72 61 6d 52 65 63 48 61 |**SeekPa|ramRecHa|
|00000580| 6e 64 6c 65 3b 0d 54 68 | 65 20 66 69 72 73 74 20 |ndle;.Th|e first |
|00000590| 70 61 72 61 6d 65 74 65 | 72 20 69 73 20 61 6e 20 |paramete|r is an |
|000005a0| 46 53 53 70 65 63 20 74 | 6f 20 74 68 65 20 64 6f |FSSpec t|o the do|
|000005b0| 63 75 6d 65 6e 74 20 79 | 6f 75 20 77 69 73 68 20 |cument y|ou wish |
|000005c0| 74 6f 20 6f 70 65 6e 20 | 61 6e 64 20 70 65 72 66 |to open |and perf|
|000005d0| 6f 72 6d 20 74 68 65 20 | 6c 6f 6f 6b 75 70 20 69 |orm the |lookup i|
|000005e0| 6e 2e 20 20 44 6f 63 56 | 69 65 77 65 72 20 77 69 |n. DocV|iewer wi|
|000005f0| 6c 6c 20 6f 70 65 6e 20 | 74 68 69 73 20 64 6f 63 |ll open |this doc|
|00000600| 75 6d 65 6e 74 20 69 66 | 20 69 74 20 69 73 6e 27 |ument if| it isn'|
|00000610| 74 20 61 6c 72 65 61 64 | 79 20 6f 70 65 6e 2e 20 |t alread|y open. |
|00000620| 20 54 68 69 73 20 64 6f | 63 75 6d 65 6e 74 20 6d | This do|cument m|
|00000630| 75 73 74 20 62 65 20 61 | 20 44 6f 63 56 69 65 77 |ust be a| DocView|
|00000640| 65 72 20 64 6f 63 75 6d | 65 6e 74 20 28 43 72 65 |er docum|ent (Cre|
|00000650| 61 74 6f 72 3a 20 48 4c | 58 32 20 54 79 70 65 3a |ator: HL|X2 Type:|
|00000660| 4f 4e 4c 4e 2e 29 20 20 | 49 66 20 79 6f 75 20 70 |ONLN.) |If you p|
|00000670| 61 73 73 20 61 20 64 6f | 63 75 6d 65 6e 74 20 74 |ass a do|cument t|
|00000680| 68 61 74 20 64 6f 65 73 | 20 6e 6f 74 20 62 65 6c |hat does| not bel|
|00000690| 6f 6e 67 20 74 6f 20 44 | 6f 63 56 69 65 77 65 72 |ong to D|ocViewer|
|000006a0| 2c 20 69 74 20 77 69 6c | 6c 20 72 65 74 75 72 6e |, it wil|l return|
|000006b0| 20 61 20 6b 57 72 6f 6e | 67 46 69 6c 65 54 79 70 | a kWron|gFileTyp|
|000006c0| 65 20 69 6e 20 74 68 65 | 20 27 65 72 72 6e 27 20 |e in the| 'errn' |
|000006d0| 70 61 72 61 6d 65 74 65 | 72 20 6f 66 20 74 68 65 |paramete|r of the|
|000006e0| 20 41 70 70 6c 65 20 65 | 76 65 6e 74 20 72 65 70 | Apple e|vent rep|
|000006f0| 6c 79 2e 20 20 0d 54 68 | 65 20 73 65 63 6f 6e 64 |ly. .Th|e second|
|00000700| 20 70 61 72 61 6d 65 74 | 65 72 20 69 73 20 74 68 | paramet|er is th|
|00000710| 65 20 68 65 61 64 69 6e | 67 20 79 6f 75 20 77 69 |e headin|g you wi|
|00000720| 73 68 20 44 6f 63 56 69 | 65 77 65 72 20 74 6f 20 |sh DocVi|ewer to |
|00000730| 6c 6f 6f 6b 20 66 6f 72 | 2e 20 20 54 68 69 73 20 |look for|. This |
|00000740| 69 73 20 61 20 73 69 6d | 70 6c 65 20 50 61 73 63 |is a sim|ple Pasc|
|00000750| 61 6c 2d 73 74 79 6c 65 | 20 73 74 72 69 6e 67 20 |al-style| string |
|00000760| 77 69 74 68 20 61 20 6d | 61 78 69 6d 75 6d 20 6c |with a m|aximum l|
|00000770| 65 6e 67 74 68 20 6f 66 | 20 32 35 35 20 63 68 61 |ength of| 255 cha|
|00000780| 72 61 63 74 65 72 73 2e | 20 20 44 6f 63 56 69 65 |racters.| DocVie|
|00000790| 77 65 72 20 75 73 65 73 | 20 74 68 69 73 20 73 74 |wer uses| this st|
|000007a0| 72 69 6e 67 20 61 73 20 | 61 20 70 61 74 74 65 72 |ring as |a patter|
|000007b0| 6e 20 74 6f 20 6d 61 74 | 63 68 20 61 67 61 69 6e |n to mat|ch again|
|000007c0| 73 74 20 74 68 65 20 64 | 6f 63 75 6d 65 6e 74 27 |st the d|ocument'|
|000007d0| 73 20 54 61 62 6c 65 20 | 6f 66 20 43 6f 6e 74 65 |s Table |of Conte|
|000007e0| 6e 74 73 2e 20 20 54 68 | 65 20 63 6f 6d 70 61 72 |nts. Th|e compar|
|000007f0| 69 73 6f 6e 20 69 73 20 | 61 63 63 6f 6d 70 6c 69 |ison is |accompli|
|00000800| 73 68 65 64 20 77 69 74 | 68 6f 75 74 20 72 65 67 |shed wit|hout reg|
|00000810| 61 72 64 20 74 6f 20 63 | 61 73 65 20 6f 72 20 64 |ard to c|ase or d|
|00000820| 69 61 63 72 69 74 69 63 | 61 6c 20 6d 61 72 6b 73 |iacritic|al marks|
|00000830| 2e 20 28 65 2e 67 2e 20 | 46 41 54 20 3d 3d 20 66 |. (e.g. |FAT == f|
|00000840| 41 74 2c 20 20 66 8c 74 | 20 3d 20 66 61 74 29 2e |At, f.t| = fat).|
|00000850| 20 20 49 66 20 74 68 65 | 20 73 74 72 69 6e 67 20 | If the| string |
|00000860| 79 6f 75 20 70 61 73 73 | 20 69 6e 20 69 73 6e 27 |you pass| in isn'|
|00000870| 74 20 66 6f 75 6e 64 20 | 69 6e 20 74 68 65 20 64 |t found |in the d|
|00000880| 6f 63 75 6d 65 6e 74 27 | 73 20 54 61 62 6c 65 20 |ocument'|s Table |
|00000890| 6f 66 20 43 6f 6e 74 65 | 6e 74 73 2c 20 74 68 65 |of Conte|nts, the|
|000008a0| 6e 20 44 6f 63 56 69 65 | 77 65 72 20 77 69 6c 6c |n DocVie|wer will|
|000008b0| 20 72 65 74 75 72 6e 20 | 61 20 6b 45 6e 74 72 79 | return |a kEntry|
|000008c0| 4e 6f 74 46 6f 75 6e 64 | 20 65 72 72 6f 72 2e 0d |NotFound| error..|
|000008d0| 54 68 65 20 74 68 69 72 | 64 20 61 6e 64 20 66 69 |The thir|d and fi|
|000008e0| 6e 61 6c 20 70 61 72 61 | 6d 65 74 65 72 20 69 73 |nal para|meter is|
|000008f0| 20 75 73 65 64 20 74 6f | 20 71 75 61 6c 69 66 79 | used to| qualify|
|00000900| 20 74 68 65 20 73 65 61 | 72 63 68 20 70 61 74 74 | the sea|rch patt|
|00000910| 65 72 6e 20 69 6e 20 74 | 68 65 20 73 65 63 6f 6e |ern in t|he secon|
|00000920| 64 20 70 61 72 61 6d 65 | 74 65 72 2e 20 20 4f 6e |d parame|ter. On|
|00000930| 63 65 20 44 6f 63 56 69 | 65 77 65 72 20 68 61 73 |ce DocVi|ewer has|
|00000940| 20 6c 6f 63 61 74 65 64 | 20 74 68 65 20 65 6e 74 | located| the ent|
|00000950| 72 79 20 69 6e 20 74 68 | 65 20 54 61 62 6c 65 20 |ry in th|e Table |
|00000960| 6f 66 20 43 6f 6e 74 65 | 6e 74 73 20 69 74 20 77 |of Conte|nts it w|
|00000970| 69 6c 6c 20 63 6f 6e 66 | 69 72 6d 20 74 68 61 74 |ill conf|irm that|
|00000980| 20 74 68 65 20 65 6e 74 | 72 79 20 69 73 20 69 6e | the ent|ry is in|
|00000990| 20 74 68 65 20 6c 65 76 | 65 6c 20 6f 66 20 74 68 | the lev|el of th|
|000009a0| 65 20 54 4f 43 20 68 69 | 65 72 61 72 63 68 79 20 |e TOC hi|erarchy |
|000009b0| 73 70 65 63 69 66 69 65 | 64 20 69 6e 20 74 68 65 |specifie|d in the|
|000009c0| 20 61 63 63 65 73 73 4c | 65 76 65 6c 20 66 69 65 | accessL|evel fie|
|000009d0| 6c 64 2e 20 20 44 6f 63 | 56 69 65 77 65 72 20 73 |ld. Doc|Viewer s|
|000009e0| 75 70 70 6f 72 74 73 20 | 73 65 76 65 6e 20 6c 65 |upports |seven le|
|000009f0| 76 65 6c 73 20 6f 66 20 | 68 69 65 72 61 72 63 68 |vels of |hierarch|
|00000a00| 79 2e 20 20 54 68 65 79 | 20 61 72 65 20 64 65 66 |y. They| are def|
|00000a10| 69 6e 65 64 20 61 73 20 | 66 6f 6c 6c 6f 77 73 3a |ined as |follows:|
|00000a20| 0d 23 64 65 66 69 6e 65 | 09 09 6b 46 69 72 73 74 |.#define|..kFirst|
|00000a30| 4c 65 76 65 6c 48 69 65 | 72 09 09 09 31 0d 23 64 |LevelHie|r...1.#d|
|00000a40| 65 66 69 6e 65 09 09 6b | 53 65 63 6f 6e 64 4c 65 |efine..k|SecondLe|
|00000a50| 76 65 6c 48 69 65 72 09 | 09 32 0d 23 64 65 66 69 |velHier.|.2.#defi|
|00000a60| 6e 65 09 09 6b 54 68 69 | 72 64 4c 65 76 65 6c 48 |ne..kThi|rdLevelH|
|00000a70| 69 65 72 09 09 09 33 0d | 23 64 65 66 69 6e 65 09 |ier...3.|#define.|
|00000a80| 09 6b 46 6f 75 72 74 68 | 4c 65 76 65 6c 48 69 65 |.kFourth|LevelHie|
|00000a90| 72 09 09 34 0d 23 64 65 | 66 69 6e 65 09 09 6b 46 |r..4.#de|fine..kF|
|00000aa0| 69 67 75 72 65 4c 65 76 | 65 6c 48 69 65 72 09 09 |igureLev|elHier..|
|00000ab0| 32 30 31 0d 23 64 65 66 | 69 6e 65 09 09 6b 4c 69 |201.#def|ine..kLi|
|00000ac0| 73 74 4c 65 76 65 6c 48 | 69 65 72 09 09 09 09 32 |stLevelH|ier....2|
|00000ad0| 30 32 0d 23 64 65 66 69 | 6e 65 09 09 6b 54 61 62 |02.#defi|ne..kTab|
|00000ae0| 6c 65 4c 65 76 65 6c 48 | 69 65 72 09 09 09 32 30 |leLevelH|ier...20|
|00000af0| 33 0d 41 6e 20 65 69 67 | 68 74 68 20 63 6f 6e 73 |3.An eig|hth cons|
|00000b00| 74 61 6e 74 20 68 61 73 | 20 62 65 65 6e 20 64 65 |tant has| been de|
|00000b10| 66 69 6e 65 64 20 74 68 | 61 74 20 77 69 6c 6c 20 |fined th|at will |
|00000b20| 61 6c 6c 6f 77 20 74 68 | 65 20 65 6e 74 72 79 20 |allow th|e entry |
|00000b30| 74 6f 20 62 65 20 66 6f | 75 6e 64 20 61 74 20 61 |to be fo|und at a|
|00000b40| 6e 79 20 6c 65 76 65 6c | 20 69 6e 20 74 68 65 20 |ny level| in the |
|00000b50| 68 69 65 72 61 72 63 68 | 79 2e 20 20 49 6e 20 74 |hierarch|y. In t|
|00000b60| 68 69 73 20 63 61 73 65 | 2c 20 69 66 20 74 68 65 |his case|, if the|
|00000b70| 72 65 20 61 72 65 20 64 | 75 70 6c 69 63 61 74 65 |re are d|uplicate|
|00000b80| 20 65 6e 74 72 69 65 73 | 20 74 68 65 20 66 69 72 | entries| the fir|
|00000b90| 73 74 20 65 6e 74 72 79 | 20 77 69 6c 6c 20 62 65 |st entry| will be|
|00000ba0| 20 63 68 6f 73 65 6e 2e | 0d 23 64 65 66 69 6e 65 | chosen.|.#define|
|00000bb0| 09 09 6b 41 6e 79 4c 65 | 76 65 6c 48 69 65 72 09 |..kAnyLe|velHier.|
|00000bc0| 09 09 09 39 39 39 0d 45 | 61 63 68 20 6f 66 20 74 |...999.E|ach of t|
|00000bd0| 68 65 73 65 20 73 65 6c | 65 63 74 6f 72 73 20 69 |hese sel|ectors i|
|00000be0| 73 20 6d 75 74 75 61 6c | 6c 79 20 65 78 63 6c 75 |s mutual|ly exclu|
|00000bf0| 73 69 76 65 2c 20 61 6e | 64 20 74 68 65 79 20 63 |sive, an|d they c|
|00000c00| 61 6e 6e 6f 74 20 62 65 | 20 63 6f 6d 62 69 6e 65 |annot be| combine|
|00000c10| 64 20 28 6f 72 27 64 29 | 20 74 6f 67 65 74 68 65 |d (or'd)| togethe|
|00000c20| 72 2e 0d 53 65 6e 64 69 | 6e 67 20 54 68 65 20 45 |r..Sendi|ng The E|
|00000c30| 76 65 6e 74 0d 4c 61 75 | 6e 63 68 20 44 6f 63 56 |vent.Lau|nch DocV|
|00000c40| 69 65 77 65 72 20 77 69 | 74 68 20 44 6f 63 75 6d |iewer wi|th Docum|
|00000c50| 65 6e 74 0d 54 68 65 20 | 66 69 72 73 74 20 73 74 |ent.The |first st|
|00000c60| 65 70 20 77 68 65 6e 20 | 73 65 6e 64 69 6e 67 20 |ep when |sending |
|00000c70| 74 68 65 20 6c 6f 6f 6b | 75 70 20 65 76 65 6e 74 |the look|up event|
|00000c80| 20 69 73 20 74 6f 20 73 | 65 65 20 69 66 20 44 6f | is to s|ee if Do|
|00000c90| 63 56 69 65 77 65 72 20 | 69 73 20 63 75 72 72 65 |cViewer |is curre|
|00000ca0| 6e 74 6c 79 20 72 75 6e | 6e 69 6e 67 2e 20 20 54 |ntly run|ning. T|
|00000cb0| 68 69 73 20 63 61 6e 20 | 62 65 20 61 63 63 6f 6d |his can |be accom|
|00000cc0| 70 6c 69 73 68 65 64 20 | 77 69 74 68 20 74 68 65 |plished |with the|
|00000cd0| 20 50 72 6f 63 65 73 73 | 20 6d 61 6e 61 67 65 72 | Process| manager|
|00000ce0| 20 47 65 74 50 72 6f 63 | 65 73 73 49 6e 66 6f 20 | GetProc|essInfo |
|00000cf0| 72 6f 75 74 69 6e 65 2e | 20 20 49 66 20 44 6f 63 |routine.| If Doc|
|00000d00| 56 69 65 77 65 72 20 69 | 73 20 66 6f 75 6e 64 20 |Viewer i|s found |
|00000d10| 69 6e 20 74 68 65 20 6c | 69 73 74 20 6f 66 20 63 |in the l|ist of c|
|00000d20| 75 72 72 65 6e 74 6c 79 | 20 72 75 6e 6e 69 6e 67 |urrently| running|
|00000d30| 20 70 72 6f 63 65 73 73 | 65 73 2c 20 79 6f 75 20 | process|es, you |
|00000d40| 73 68 6f 75 6c 64 20 63 | 68 65 63 6b 20 74 6f 20 |should c|heck to |
|00000d50| 73 65 65 20 74 68 61 74 | 20 74 68 65 20 76 65 72 |see that| the ver|
|00000d60| 73 69 6f 6e 20 6f 66 20 | 44 6f 63 56 69 65 77 65 |sion of |DocViewe|
|00000d70| 72 20 69 73 20 63 6f 72 | 72 65 63 74 20 28 31 2e |r is cor|rect (1.|
|00000d80| 31 2e 31 29 2e 20 20 54 | 68 69 73 20 63 61 6e 20 |1.1). T|his can |
|00000d90| 62 65 20 64 6f 6e 65 20 | 75 73 69 6e 67 20 74 68 |be done |using th|
|00000da0| 65 20 27 76 65 72 73 27 | 20 72 65 73 6f 75 72 63 |e 'vers'| resourc|
|00000db0| 65 20 77 69 74 68 20 49 | 44 20 23 31 2e 20 0d 49 |e with I|D #1. .I|
|00000dc0| 66 20 44 6f 63 56 69 65 | 77 65 72 20 69 73 20 6e |f DocVie|wer is n|
|00000dd0| 6f 74 20 72 75 6e 6e 69 | 6e 67 2c 20 69 74 20 69 |ot runni|ng, it i|
|00000de0| 73 20 6e 65 63 65 73 73 | 61 72 79 20 74 6f 20 6c |s necess|ary to l|
|00000df0| 61 75 6e 63 68 20 74 68 | 65 20 61 70 70 6c 69 63 |aunch th|e applic|
|00000e00| 61 74 69 6f 6e 20 77 69 | 74 68 20 74 68 65 20 74 |ation wi|th the t|
|00000e10| 61 72 67 65 74 20 64 6f | 63 75 6d 65 6e 74 2e 20 |arget do|cument. |
|00000e20| 20 49 66 20 44 6f 63 56 | 69 65 77 65 72 20 69 73 | If DocV|iewer is|
|00000e30| 20 6c 61 75 6e 63 68 65 | 64 20 77 69 74 68 6f 75 | launche|d withou|
|00000e40| 74 20 72 65 66 65 72 65 | 6e 63 65 20 74 6f 20 74 |t refere|nce to t|
|00000e50| 68 65 20 74 61 72 67 65 | 74 20 64 6f 63 75 6d 65 |he targe|t docume|
|00000e60| 6e 74 2c 20 69 74 20 77 | 69 6c 6c 20 70 72 65 73 |nt, it w|ill pres|
|00000e70| 65 6e 74 20 69 74 73 20 | 64 65 66 61 75 6c 74 20 |ent its |default |
|00000e80| 53 46 47 65 74 46 69 6c | 65 20 64 69 61 6c 6f 67 |SFGetFil|e dialog|
|00000e90| 2c 20 61 6e 64 20 79 6f | 75 20 77 69 6c 6c 20 6e |, and yo|u will n|
|00000ea0| 6f 74 20 62 65 20 61 62 | 6c 65 20 74 6f 20 6d 65 |ot be ab|le to me|
|00000eb0| 73 73 61 67 65 20 74 68 | 65 20 61 70 70 6c 69 63 |ssage th|e applic|
|00000ec0| 61 74 69 6f 6e 20 75 6e | 74 69 6c 20 74 68 65 20 |ation un|til the |
|00000ed0| 64 69 61 6c 6f 67 20 69 | 73 20 64 69 73 6d 69 73 |dialog i|s dismis|
|00000ee0| 73 65 64 2e 20 20 46 6f | 72 20 69 6e 66 6f 72 6d |sed. Fo|r inform|
|00000ef0| 61 74 69 6f 6e 20 6f 6e | 20 6c 61 75 6e 63 68 69 |ation on| launchi|
|00000f00| 6e 67 20 61 6e 20 61 70 | 70 6c 69 63 61 74 69 6f |ng an ap|plicatio|
|00000f10| 6e 20 77 69 74 68 20 61 | 20 64 6f 63 75 6d 65 6e |n with a| documen|
|00000f20| 74 20 73 65 65 20 22 4c | 61 75 6e 63 68 77 69 74 |t see "L|aunchwit|
|00000f30| 68 44 6f 63 22 20 6f 6e | 20 74 68 65 20 6c 61 74 |hDoc" on| the lat|
|00000f40| 65 73 74 20 76 65 72 73 | 69 6f 6e 20 6f 66 20 74 |est vers|ion of t|
|00000f50| 68 65 20 44 65 76 65 6c | 6f 70 65 72 20 43 44 20 |he Devel|oper CD |
|00000f60| 28 54 6f 6f 6c 20 43 68 | 65 73 74 20 45 64 69 74 |(Tool Ch|est Edit|
|00000f70| 69 6f 6e 29 2e 0d 41 67 | 61 69 6e 2c 20 77 68 65 |ion)..Ag|ain, whe|
|00000f80| 6e 20 79 6f 75 20 6c 61 | 75 6e 63 68 20 74 68 65 |n you la|unch the|
|00000f90| 20 61 70 70 6c 69 63 61 | 74 69 6f 6e 2c 20 69 74 | applica|tion, it|
|00000fa0| 20 69 73 20 6e 65 63 65 | 73 73 61 72 79 20 74 6f | is nece|ssary to|
|00000fb0| 20 63 6f 6e 66 69 72 6d | 20 74 68 61 74 20 79 6f | confirm| that yo|
|00000fc0| 75 20 61 72 65 20 6c 61 | 75 6e 63 68 69 6e 67 20 |u are la|unching |
|00000fd0| 74 68 65 20 63 6f 72 72 | 65 63 74 20 76 65 72 73 |the corr|ect vers|
|00000fe0| 69 6f 6e 20 62 79 20 63 | 68 65 63 6b 69 6e 67 20 |ion by c|hecking |
|00000ff0| 74 68 65 20 63 6f 6e 74 | 65 6e 74 73 20 6f 66 20 |the cont|ents of |
|00001000| 74 68 65 20 27 76 65 72 | 73 27 20 49 44 20 23 31 |the 'ver|s' ID #1|
|00001010| 20 72 65 73 6f 75 72 63 | 65 20 6f 66 20 74 68 65 | resourc|e of the|
|00001020| 20 44 6f 63 56 69 65 77 | 65 72 20 61 70 70 6c 69 | DocView|er appli|
|00001030| 63 61 74 69 6f 6e 2e 0d | 53 65 6e 64 20 74 68 65 |cation..|Send the|
|00001040| 20 45 76 65 6e 74 0d 4f | 6e 63 65 20 79 6f 75 20 | Event.O|nce you |
|00001050| 68 61 76 65 20 64 65 74 | 65 72 6d 69 6e 65 64 20 |have det|ermined |
|00001060| 74 68 61 74 20 44 6f 63 | 56 69 65 77 65 72 20 69 |that Doc|Viewer i|
|00001070| 73 20 72 75 6e 6e 69 6e | 67 20 28 6f 72 20 79 6f |s runnin|g (or yo|
|00001080| 75 27 76 65 20 6c 61 75 | 6e 63 68 65 64 20 69 74 |u've lau|nched it|
|00001090| 29 20 79 6f 75 20 63 61 | 6e 20 74 68 65 6e 20 73 |) you ca|n then s|
|000010a0| 65 6e 64 20 74 68 65 20 | 65 76 65 6e 74 2e 20 20 |end the |event. |
|000010b0| 53 65 65 20 6c 69 73 74 | 69 6e 67 20 31 20 66 6f |See list|ing 1 fo|
|000010c0| 72 20 61 6e 20 65 78 61 | 6d 70 6c 65 20 6f 66 20 |r an exa|mple of |
|000010d0| 73 65 6e 64 69 6e 67 20 | 74 68 65 20 27 73 65 65 |sending |the 'see|
|000010e0| 6b 27 20 65 76 65 6e 74 | 2e 0d 43 68 65 63 6b 20 |k' event|..Check |
|000010f0| 66 6f 72 20 45 72 72 6f | 72 73 0d 49 66 20 44 6f |for Erro|rs.If Do|
|00001100| 63 56 69 65 77 65 72 20 | 63 61 6e 6e 6f 74 20 66 |cViewer |cannot f|
|00001110| 69 6e 64 20 74 68 65 20 | 65 6e 74 72 79 20 72 65 |ind the |entry re|
|00001120| 71 75 65 73 74 65 64 2c | 20 69 74 20 77 69 6c 6c |quested,| it will|
|00001130| 20 72 65 74 75 72 6e 20 | 61 6e 20 65 72 72 6f 72 | return |an error|
|00001140| 20 69 6e 20 74 68 65 20 | 72 65 70 6c 79 20 6f 66 | in the |reply of|
|00001150| 20 74 68 65 20 41 70 70 | 6c 65 20 65 76 65 6e 74 | the App|le event|
|00001160| 2e 20 20 53 65 65 20 6c | 69 73 74 69 6e 67 20 31 |. See l|isting 1|
|00001170| 20 66 6f 72 20 61 6e 20 | 65 78 61 6d 70 6c 65 20 | for an |example |
|00001180| 6f 66 20 68 6f 77 20 74 | 6f 20 64 65 74 65 72 6d |of how t|o determ|
|00001190| 69 6e 65 20 74 68 65 73 | 65 20 65 72 72 6f 72 73 |ine thes|e errors|
|000011a0| 2e 0d 4c 69 73 74 69 6e | 67 20 31 20 2d 20 53 65 |..Listin|g 1 - Se|
|000011b0| 6e 64 69 6e 67 20 74 68 | 65 20 27 73 65 65 6b 27 |nding th|e 'seek'|
|000011c0| 20 41 70 70 6c 65 20 65 | 76 65 6e 74 0d 2f 2f 4f | Apple e|vent.//O|
|000011d0| 70 65 6e 44 6f 63 0d 2f | 2f 20 54 68 69 73 20 72 |penDoc./|/ This r|
|000011e0| 6f 75 74 69 6e 65 20 74 | 61 6b 65 73 20 61 20 70 |outine t|akes a p|
|000011f0| 6f 69 6e 74 65 72 20 74 | 6f 20 61 20 53 65 65 6b |ointer t|o a Seek|
|00001200| 50 61 72 61 6d 52 65 63 | 0d 2f 2f 20 61 6e 64 20 |ParamRec|.// and |
|00001210| 73 65 6e 64 73 20 69 74 | 20 74 6f 20 44 6f 63 56 |sends it| to DocV|
|00001220| 69 65 77 65 72 2e 20 20 | 54 68 69 73 20 72 6f 75 |iewer. |This rou|
|00001230| 74 69 6e 65 20 61 73 73 | 75 6d 65 73 0d 2f 2f 20 |tine ass|umes.// |
|00001240| 74 68 61 74 20 79 6f 75 | 27 76 65 20 61 6c 72 65 |that you|'ve alre|
|00001250| 61 64 79 20 63 68 65 63 | 6b 65 64 20 74 6f 20 73 |ady chec|ked to s|
|00001260| 65 65 20 69 66 20 44 6f | 63 56 69 65 77 65 72 20 |ee if Do|cViewer |
|00001270| 69 73 20 72 75 6e 6e 69 | 6e 67 0d 2f 2f 20 49 20 |is runni|ng.// I |
|00001280| 72 65 6d 6f 76 65 64 20 | 6d 6f 73 74 20 74 68 65 |removed |most the|
|00001290| 20 65 72 72 6f 72 20 63 | 68 65 63 6b 69 6e 67 20 | error c|hecking |
|000012a0| 77 68 65 72 65 20 69 74 | 20 77 61 73 20 6f 62 76 |where it| was obv|
|000012b0| 69 6f 75 73 0d 2f 2f 20 | 74 6f 20 69 6d 70 72 6f |ious.// |to impro|
|000012c0| 76 65 20 72 65 61 64 61 | 62 69 6c 69 74 79 2e 0d |ve reada|bility..|
|000012d0| 4f 53 45 72 72 20 4f 70 | 65 6e 44 6f 63 28 53 65 |OSErr Op|enDoc(Se|
|000012e0| 65 6b 50 61 72 61 6d 52 | 65 63 20 2a 71 44 61 74 |ekParamR|ec *qDat|
|000012f0| 61 29 0d 7b 0d 09 4f 53 | 45 72 72 09 09 09 09 09 |a).{..OS|Err.....|
|00001300| 09 65 72 72 20 3d 20 6e | 6f 45 72 72 3b 0d 09 41 |.err = n|oErr;..A|
|00001310| 70 70 6c 65 45 76 65 6e | 74 09 09 6d 79 45 76 65 |ppleEven|t..myEve|
|00001320| 6e 74 2c 20 72 65 70 6c | 79 3b 0d 09 41 45 44 65 |nt, repl|y;..AEDe|
|00001330| 73 63 09 09 09 09 09 6d | 79 41 64 64 72 65 73 73 |sc.....m|yAddress|
|00001340| 3b 0d 09 6c 6f 6e 67 09 | 09 09 09 09 09 61 70 70 |;..long.|.....app|
|00001350| 53 69 67 20 3d 20 6b 44 | 6f 63 56 69 65 77 65 72 |Sig = kD|ocViewer|
|00001360| 41 70 70 53 69 67 3b 0d | 09 6c 6f 6e 67 09 09 09 |AppSig;.|.long...|
|00001370| 09 09 09 72 65 70 6c 79 | 45 72 72 6f 72 20 3d 20 |...reply|Error = |
|00001380| 6e 6f 45 72 72 3b 0d 09 | 53 69 7a 65 09 09 09 09 |noErr;..|Size....|
|00001390| 09 09 61 63 74 75 61 6c | 53 69 7a 65 3b 0d 09 44 |..actual|Size;..D|
|000013a0| 65 73 63 54 79 70 65 09 | 09 09 09 67 6f 74 54 79 |escType.|...gotTy|
|000013b0| 70 65 3b 0d 09 0d 09 65 | 72 72 20 3d 20 41 45 43 |pe;....e|rr = AEC|
|000013c0| 72 65 61 74 65 44 65 73 | 63 28 09 74 79 70 65 41 |reateDes|c(.typeA|
|000013d0| 70 70 6c 53 69 67 6e 61 | 74 75 72 65 2c 28 50 74 |pplSigna|ture,(Pt|
|000013e0| 72 29 26 61 70 70 53 69 | 67 2c 0d 09 09 09 09 09 |r)&appSi|g,......|
|000013f0| 09 73 69 7a 65 6f 66 28 | 61 70 70 53 69 67 29 2c |.sizeof(|appSig),|
|00001400| 26 6d 79 41 64 64 72 65 | 73 73 29 3b 0d 09 0d 09 |&myAddre|ss);....|
|00001410| 65 72 72 20 3d 20 41 45 | 43 72 65 61 74 65 41 70 |err = AE|CreateAp|
|00001420| 70 6c 65 45 76 65 6e 74 | 28 6b 44 6f 63 56 69 65 |pleEvent|(kDocVie|
|00001430| 77 65 72 45 76 65 6e 74 | 43 6c 61 73 73 2c 20 6b |werEvent|Class, k|
|00001440| 53 65 65 6b 45 76 65 6e | 74 49 44 2c 20 0d 09 09 |SeekEven|tID, ...|
|00001450| 09 09 09 09 09 09 09 09 | 09 09 09 09 09 09 09 09 |........|........|
|00001460| 26 6d 79 41 64 64 72 65 | 73 73 2c 20 6b 41 75 74 |&myAddre|ss, kAut|
|00001470| 6f 47 65 6e 65 72 61 74 | 65 52 65 74 75 72 6e 49 |oGenerat|eReturnI|
|00001480| 44 2c 20 0d 09 09 09 09 | 09 09 09 09 09 09 09 09 |D, .....|........|
|00001490| 09 09 09 09 09 09 6b 41 | 6e 79 54 72 61 6e 73 61 |......kA|nyTransa|
|000014a0| 63 74 69 6f 6e 49 44 2c | 20 26 6d 79 45 76 65 6e |ctionID,| &myEven|
|000014b0| 74 20 29 3b 0d 09 09 09 | 09 09 09 09 0d 09 65 72 |t );....|......er|
|000014c0| 72 20 3d 20 41 45 50 75 | 74 50 61 72 61 6d 50 74 |r = AEPu|tParamPt|
|000014d0| 72 28 20 26 6d 79 45 76 | 65 6e 74 2c 20 6b 65 79 |r( &myEv|ent, key|
|000014e0| 53 65 65 6b 50 61 72 61 | 6d 2c 20 74 79 70 65 57 |SeekPara|m, typeW|
|000014f0| 69 6c 64 43 61 72 64 2c | 20 09 09 09 09 09 09 09 |ildCard,| .......|
|00001500| 09 09 09 09 09 09 09 09 | 28 50 74 72 29 71 44 61 |........|(Ptr)qDa|
|00001510| 74 61 2c 20 73 69 7a 65 | 6f 66 28 53 65 65 6b 50 |ta, size|of(SeekP|
|00001520| 61 72 61 6d 52 65 63 29 | 20 29 3b 0d 09 65 72 72 |aramRec)| );..err|
|00001530| 20 3d 20 41 45 53 65 6e | 64 28 20 26 6d 79 45 76 | = AESen|d( &myEv|
|00001540| 65 6e 74 2c 20 26 72 65 | 70 6c 79 2c 20 6b 41 45 |ent, &re|ply, kAE|
|00001550| 57 61 69 74 52 65 70 6c | 79 2c 20 09 09 09 09 09 |WaitRepl|y, .....|
|00001560| 09 09 09 09 09 09 09 6b | 41 45 4e 6f 72 6d 61 6c |.......k|AENormal|
|00001570| 50 72 69 6f 72 69 74 79 | 2c 20 6b 41 45 44 65 66 |Priority|, kAEDef|
|00001580| 61 75 6c 74 54 69 6d 65 | 6f 75 74 2c 20 0d 09 09 |aultTime|out, ...|
|00001590| 09 09 09 09 09 09 09 09 | 6e 69 6c 2c 20 6e 69 6c |........|nil, nil|
|000015a0| 20 29 3b 0d 20 20 20 2f | 2f 20 43 68 65 63 6b 20 | );. /|/ Check |
|000015b0| 74 6f 20 73 65 65 20 69 | 66 20 79 6f 75 20 67 6f |to see i|f you go|
|000015c0| 74 20 61 6e 20 65 72 72 | 6f 72 0d 09 65 72 72 20 |t an err|or..err |
|000015d0| 3d 20 41 45 47 65 74 50 | 61 72 61 6d 50 74 72 28 |= AEGetP|aramPtr(|
|000015e0| 20 26 72 65 70 6c 79 2c | 20 6b 65 79 45 72 72 6f | &reply,| keyErro|
|000015f0| 72 4e 75 6d 62 65 72 2c | 20 74 79 70 65 4c 6f 6e |rNumber,| typeLon|
|00001600| 67 49 6e 74 65 67 65 72 | 2c 20 09 09 09 09 09 09 |gInteger|, ......|
|00001610| 09 09 09 09 09 09 09 09 | 09 26 67 6f 74 54 79 70 |........|.&gotTyp|
|00001620| 65 2c 20 28 50 74 72 29 | 26 72 65 70 6c 79 45 72 |e, (Ptr)|&replyEr|
|00001630| 72 6f 72 2c 0d 09 09 09 | 09 09 09 20 20 09 09 09 |ror,....|... ...|
|00001640| 09 09 09 09 09 73 69 7a | 65 6f 66 28 6c 6f 6e 67 |.....siz|eof(long|
|00001650| 29 2c 20 26 61 63 74 75 | 61 6c 53 69 7a 65 29 3b |), &actu|alSize);|
|00001660| 0d 09 2f 2f 20 53 70 65 | 63 69 61 6c 20 63 61 73 |..// Spe|cial cas|
|00001670| 65 20 6f 6e 20 41 45 44 | 65 73 63 4e 6f 74 46 6f |e on AED|escNotFo|
|00001680| 75 6e 64 20 62 65 63 61 | 75 73 65 20 77 65 27 6c |und beca|use we'l|
|00001690| 6c 20 67 65 74 20 61 6e | 20 65 72 72 6f 72 0d 09 |l get an| error..|
|000016a0| 2f 2f 20 69 66 20 74 68 | 65 72 65 20 69 73 20 6e |// if th|ere is n|
|000016b0| 6f 20 65 72 72 6f 72 20 | 69 6e 20 74 68 65 20 72 |o error |in the r|
|000016c0| 65 70 6c 79 2e 0d 09 69 | 66 20 28 28 65 72 72 20 |eply...i|f ((err |
|000016d0| 21 3d 20 6e 6f 45 72 72 | 29 20 26 26 20 28 65 72 |!= noErr|) && (er|
|000016e0| 72 20 21 3d 20 65 72 72 | 41 45 44 65 73 63 4e 6f |r != err|AEDescNo|
|000016f0| 74 46 6f 75 6e 64 29 29 | 0d 09 7b 0d 09 09 72 65 |tFound))|..{...re|
|00001700| 74 75 72 6e 20 65 72 72 | 3b 0d 09 7d 0d 09 2f 2f |turn err|;..}..//|
|00001710| 20 69 66 20 74 68 65 72 | 65 27 73 20 61 6e 20 65 | if ther|e's an e|
|00001720| 72 72 6f 72 20 66 72 6f | 6d 20 44 6f 63 56 69 65 |rror fro|m DocVie|
|00001730| 77 65 72 20 72 65 74 75 | 72 6e 20 69 74 2e 0d 09 |wer retu|rn it...|
|00001740| 2f 2f 20 6f 74 68 65 72 | 77 69 73 65 20 72 65 74 |// other|wise ret|
|00001750| 75 72 6e 20 6e 6f 45 72 | 72 2e 0d 09 69 66 20 28 |urn noEr|r...if (|
|00001760| 72 65 70 6c 79 45 72 72 | 6f 72 20 21 3d 20 6e 6f |replyErr|or != no|
|00001770| 45 72 72 29 0d 09 09 09 | 72 65 74 75 72 6e 20 72 |Err)....|return r|
|00001780| 65 70 6c 79 45 72 72 6f | 72 3b 0d 09 65 6c 73 65 |eplyErro|r;..else|
|00001790| 0d 09 09 09 72 65 74 75 | 72 6e 20 6e 6f 45 72 72 |....retu|rn noErr|
|000017a0| 3b 0d 7d 0d 0e 32 00 00 | 00 00 03 18 02 64 00 11 |;.}..2..|.....d..|
|000017b0| 02 ff 0c 00 ff ff ff ff | 00 00 00 00 00 00 00 00 |........|........|
|000017c0| 02 64 00 00 03 18 00 00 | 00 00 00 00 00 a1 00 64 |.d......|.......d|
|000017d0| 00 0c 57 4f 52 44 00 00 | 00 00 00 43 01 c7 00 01 |..WORD..|...C....|
|000017e0| 00 0a 00 4e 00 7e 00 91 | 02 45 00 07 00 04 00 04 |...N.~..|.E......|
|000017f0| 00 20 00 8c 00 7f 00 8c | 02 40 00 a1 00 96 00 0c |. ......|.@......|
|00001800| 01 00 00 00 01 00 00 00 | 00 00 00 00 00 2c 00 0b |........|.....,..|
|00001810| 00 10 08 50 61 6c 61 74 | 69 6e 6f 00 00 03 00 10 |...Palat|ino.....|
|00001820| 00 04 01 00 00 0d 00 18 | 00 2e 00 04 00 00 00 00 |........|........|
|00001830| 00 10 00 43 01 c7 00 43 | 01 c7 00 2b b2 83 10 41 |...C...C|...+...A|
|00001840| 70 70 6c 65 20 44 6f 63 | 56 69 65 77 65 72 0d 00 |pple Doc|Viewer..|
|00001850| 00 a0 00 97 00 a1 00 96 | 00 0c 01 00 00 00 01 00 |........|........|
|00001860| 00 00 00 00 00 00 00 0d | 00 11 00 28 00 83 01 c9 |........|...(....|
|00001870| 0e 54 65 63 68 6e 69 63 | 61 6c 20 4e 6f 74 65 00 |.Technic|al Note.|
|00001880| 00 a0 00 97 00 a1 00 96 | 00 0c 01 00 00 00 01 00 |........|........|
|00001890| 00 00 00 00 00 00 00 0d | 00 10 00 28 00 4c 00 83 |........|...(.L..|
|000018a0| 01 0d 00 2a 11 27 f0 20 | 41 70 70 6c 65 20 43 6f |...*.'. |Apple Co|
|000018b0| 6d 70 75 74 65 72 2c 20 | 49 6e 63 2e 2c 20 44 65 |mputer, |Inc., De|
|000018c0| 76 65 6c 6f 70 65 72 20 | 50 72 65 73 73 00 00 a0 |veloper |Press...|
|000018d0| 00 97 00 90 00 04 00 00 | 00 00 00 20 00 20 00 00 |........|... . ..|
|000018e0| 00 00 00 20 00 20 00 68 | 00 8a 00 88 00 aa 00 03 |... . .h|........|
|000018f0| 00 00 00 00 00 00 00 00 | 7f fc 7f fc 7f fe ff fc |........|........|
|00001900| ff ff ff fe ff ff ff fe | ff ff ff fe ff ff ff fe |........|........|
|00001910| ff ff ff fe ff ff ff fe | ff ff ff fe ff ff ff fe |........|........|
|00001920| ff ff ff fe ff ff ff fe | ff ff ff fe ff ff ff fe |........|........|
|00001930| ff ff ff fe ff ff ff fe | ff ff ff fe ff ff ff fe |........|........|
|00001940| ff ff ff fe ff ff ff fe | ff ff ff fe 00 3f ff 00 |........|.....?..|
|00001950| 00 1f ff f8 00 1f ff f8 | 00 0f ff f8 00 07 ff f8 |........|........|
|00001960| 00 03 ff f8 00 00 ff f8 | 00 00 00 f8 00 00 00 38 |........|.......8|
|00001970| 00 90 00 04 00 00 00 00 | 00 20 00 20 00 00 00 00 |........|. . ....|
|00001980| 00 20 00 20 00 68 00 8a | 00 88 00 aa 00 01 00 00 |. . .h..|........|
|00001990| 00 00 00 00 00 00 7f fc | 7f fc 40 02 80 04 c0 01 |........|..@.....|
|000019a0| 00 06 c0 01 00 06 c7 e1 | 00 06 c0 01 0f c6 c7 01 |........|........|
|000019b0| 00 06 c0 01 0e 06 c7 c1 | 00 06 c0 01 0c 06 c0 01 |........|........|
|000019c0| 00 06 c7 81 0f c6 c0 01 | 00 06 c6 21 00 06 c0 51 |........|...!...Q|
|000019d0| 0f c6 c7 c9 00 06 c0 25 | 00 06 c0 13 e0 06 c0 08 |.......%|........|
|000019e0| 18 06 ff fc 07 fe ff fa | 03 fe 00 25 01 00 00 12 |........|...%....|
|000019f0| 80 f8 00 11 80 38 00 08 | 00 38 00 04 00 38 00 03 |.....8..|.8...8..|
|00001a00| 00 38 00 00 ff 38 00 00 | 00 f8 00 00 00 38 00 01 |.8...8..|.....8..|
|00001a10| 00 0a 00 00 00 00 03 18 | 02 64 00 04 00 00 00 0d |........|.d......|
|00001a20| 00 12 00 10 00 01 00 01 | 00 01 00 01 00 a1 00 64 |........|.......d|
|00001a30| 00 10 4f 4e 4c 4e 00 64 | 00 00 00 ab 00 7e 00 bf |..ONLN.d|.....~..|
|00001a40| 02 18 00 28 00 ba 00 7e | 2f 23 30 30 34 20 4e 65 |...(...~|/#004 Ne|
|00001a50| 77 20 41 70 70 6c 65 20 | 45 76 65 6e 74 20 53 75 |w Apple |Event Su|
|00001a60| 70 70 6f 72 74 20 69 6e | 20 44 6f 63 56 69 65 77 |pport in| DocView|
|00001a70| 65 72 20 31 2e 31 2e 31 | 00 04 05 00 00 0d 00 0e |er 1.1.1|........|
|00001a80| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 00 32 00 e1 |...d..ON|LN.d.2..|
|00001a90| 00 5a 00 f1 00 a9 00 28 | 00 ed 00 5a 0c 49 6e 74 |.Z.....(|...Z.Int|
|00001aa0| 72 6f 64 75 63 74 69 6f | 6e 00 00 04 00 00 00 0d |roductio|n.......|
|00001ab0| 00 0c 00 06 00 03 00 00 | 00 a1 00 64 00 10 4f 4e |........|...d..ON|
|00001ac0| 4c 4e 00 64 00 3f 00 f7 | 00 7e 01 05 00 be 00 2b |LN.d.?..|.~.....+|
|00001ad0| 24 14 0a 42 65 67 69 6e | 6e 69 6e 67 20 00 00 06 |$..Begin|ning ...|
|00001ae0| 00 04 00 00 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 |.......d|..ONLN.d|
|00001af0| 00 49 00 f7 00 be 01 05 | 02 0a 00 29 40 36 77 69 |.I......|...)@6wi|
|00001b00| 74 68 20 76 65 72 73 69 | 6f 6e 20 31 2e 31 2e 31 |th versi|on 1.1.1|
|00001b10| 2c 20 41 70 70 6c 65 20 | 44 6f 63 56 69 65 77 65 |, Apple |DocViewe|
|00001b20| 72 20 73 75 70 70 6f 72 | 74 73 20 61 20 73 70 65 |r suppor|ts a spe|
|00001b30| 63 69 61 6c 00 06 00 00 | 00 00 00 a1 00 64 00 10 |cial....|.....d..|
|00001b40| 4f 4e 4c 4e 00 64 00 80 | 01 05 00 7e 01 13 00 cc |ONLN.d..|...~....|
|00001b50| 00 28 01 0f 00 7e 0e 41 | 70 70 6c 65 20 65 76 65 |.(...~.A|pple eve|
|00001b60| 6e 74 2e 20 20 00 00 06 | 00 01 00 00 00 a1 00 64 |nt. ...|.......d|
|00001b70| 00 10 4f 4e 4c 4e 00 64 | 00 8e 01 05 00 cc 01 13 |..ONLN.d|........|
|00001b80| 02 0a 00 29 4e 33 54 68 | 69 73 20 41 70 70 6c 65 |...)N3Th|is Apple|
|00001b90| 20 65 76 65 6e 74 20 69 | 73 20 6b 6e 6f 77 6e 20 | event i|s known |
|00001ba0| 61 73 20 74 68 65 20 22 | 44 6f 63 56 69 65 77 65 |as the "|DocViewe|
|00001bb0| 72 20 4c 6f 6f 6b 75 70 | 22 00 00 a1 00 64 00 10 |r Lookup|"....d..|
|00001bc0| 4f 4e 4c 4e 00 64 00 c2 | 01 13 00 7e 01 21 01 cc |ONLN.d..|...~.!..|
|00001bd0| 00 28 01 1d 00 7e 3d 65 | 76 65 6e 74 2e 20 20 57 |.(...~=e|vent. W|
|00001be0| 69 74 68 20 74 68 69 73 | 20 65 76 65 6e 74 2c 20 |ith this| event, |
|00001bf0| 69 74 20 69 73 20 70 6f | 73 73 69 62 6c 65 20 74 |it is po|ssible t|
|00001c00| 6f 20 73 65 6e 64 20 61 | 20 6d 65 73 73 61 67 65 |o send a| message|
|00001c10| 20 74 6f 20 00 06 00 02 | 00 00 00 a1 00 64 00 10 | to ....|.....d..|
|00001c20| 4f 4e 4c 4e 00 64 00 ff | 01 13 01 cc 01 21 02 0a |ONLN.d..|.....!..|
|00001c30| 00 28 01 1d 01 cc 09 44 | 6f 63 56 69 65 77 65 72 |.(.....D|ocViewer|
|00001c40| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 01 09 01 21 |...d..ON|LN.d...!|
|00001c50| 00 7e 01 2f 01 4c 00 28 | 01 2b 00 7e 25 72 65 71 |.~./.L.(|.+.~%req|
|00001c60| 75 65 73 74 69 6e 67 20 | 74 68 61 74 20 69 74 20 |uesting |that it |
|00001c70| 6f 70 65 6e 20 61 20 70 | 61 72 74 69 63 75 6c 61 |open a p|articula|
|00001c80| 72 20 00 06 00 03 00 00 | 00 a1 00 64 00 10 4f 4e |r ......|...d..ON|
|00001c90| 4c 4e 00 64 01 2e 01 21 | 01 4c 01 2f 02 0a 00 29 |LN.d...!|.L./...)|
|00001ca0| ce 1f 64 6f 63 75 6d 65 | 6e 74 20 61 6e 64 20 74 |..docume|nt and t|
|00001cb0| 75 72 6e 20 74 6f 20 61 | 20 73 70 65 63 69 66 69 |urn to a| specifi|
|00001cc0| 63 00 00 06 00 01 00 00 | 00 a1 00 64 00 10 4f 4e |c.......|...d..ON|
|00001cd0| 4c 4e 00 64 01 4e 01 2f | 00 7e 01 3d 01 ff 00 28 |LN.d.N./|.~.=...(|
|00001ce0| 01 39 00 7e 40 68 65 61 | 64 69 6e 67 2e 20 20 54 |.9.~@hea|ding. T|
|00001cf0| 68 69 73 20 44 6f 63 56 | 69 65 77 65 72 20 54 65 |his DocV|iewer Te|
|00001d00| 63 68 20 4e 6f 74 65 20 | 64 65 73 63 72 69 62 65 |ch Note |describe|
|00001d10| 73 20 74 68 65 20 69 6d | 70 6c 65 6d 65 6e 74 61 |s the im|plementa|
|00001d20| 74 69 6f 6e 20 00 00 06 | 00 02 00 00 00 a1 00 64 |tion ...|.......d|
|00001d30| 00 10 4f 4e 4c 4e 00 64 | 01 8e 01 2f 01 ff 01 3d |..ONLN.d|.../...=|
|00001d40| 02 0a 00 28 01 39 01 ff | 02 6f 66 00 00 06 00 00 |...(.9..|.of.....|
|00001d50| 00 00 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 01 91 |.....d..|ONLN.d..|
|00001d60| 01 3d 00 7e 01 4b 00 bf | 00 28 01 47 00 7e 0d 74 |.=.~.K..|.(.G.~.t|
|00001d70| 68 69 73 20 65 76 65 6e | 74 2e 20 20 00 06 00 01 |his even|t. ....|
|00001d80| 00 00 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 01 9e |.....d..|ONLN.d..|
|00001d90| 01 3d 00 bf 01 4b 02 0a | 00 29 41 3b 50 6c 65 61 |.=...K..|.)A;Plea|
|00001da0| 73 65 20 6e 6f 74 65 20 | 74 68 61 74 20 74 65 63 |se note |that tec|
|00001db0| 68 20 6e 6f 74 65 73 20 | 31 20 2d 20 33 20 64 6f |h notes |1 - 3 do|
|00001dc0| 20 6e 6f 74 20 61 64 64 | 72 65 73 73 20 74 68 65 | not add|ress the|
|00001dd0| 20 56 69 65 77 65 72 00 | 00 a1 00 64 00 10 4f 4e | Viewer.|...d..ON|
|00001de0| 4c 4e 00 64 01 da 01 4b | 00 7e 01 59 01 d1 00 28 |LN.d...K|.~.Y...(|
|00001df0| 01 55 00 7e 3c 70 6f 72 | 74 69 6f 6e 20 6f 66 20 |.U.~<por|tion of |
|00001e00| 44 6f 63 56 69 65 77 65 | 72 20 61 6e 64 20 61 72 |DocViewe|r and ar|
|00001e10| 65 20 6f 6e 6c 79 20 61 | 76 61 69 6c 61 62 6c 65 |e only a|vailable|
|00001e20| 20 74 6f 20 6c 69 63 65 | 6e 73 65 65 73 20 6f 66 | to lice|nsees of|
|00001e30| 20 00 00 06 00 02 00 00 | 00 a1 00 64 00 10 4f 4e | .......|...d..ON|
|00001e40| 4c 4e 00 64 02 16 01 4b | 01 d1 01 59 02 0a 00 28 |LN.d...K|...Y...(|
|00001e50| 01 55 01 d1 09 74 68 65 | 20 41 70 70 6c 65 00 06 |.U...the| Apple..|
|00001e60| 00 00 00 00 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 |.......d|..ONLN.d|
|00001e70| 02 20 01 59 00 7e 01 67 | 00 ec 00 28 01 63 00 7e |. .Y.~.g|...(.c.~|
|00001e80| 12 44 6f 63 56 69 65 77 | 65 72 20 42 75 69 6c 64 |.DocView|er Build|
|00001e90| 65 72 2e 00 00 04 05 00 | 00 0d 00 0e 00 a1 00 64 |er......|.......d|
|00001ea0| 00 10 4f 4e 4c 4e 00 64 | 02 33 01 75 00 5a 01 85 |..ONLN.d|.3.u.Z..|
|00001eb0| 00 dc 00 28 01 81 00 5a | 11 44 6f 63 56 69 65 77 |...(...Z|.DocView|
|00001ec0| 65 72 4c 6f 6f 6b 75 70 | 2e 68 00 04 00 00 00 0d |erLookup|.h......|
|00001ed0| 00 0c 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 02 45 |.....d..|ONLN.d.E|
|00001ee0| 01 8b 00 7e 01 99 01 de | 00 2b 24 14 3e 41 63 63 |...~....|.+$.>Acc|
|00001ef0| 6f 6d 70 61 6e 79 69 6e | 67 20 74 68 69 73 20 54 |ompanyin|g this T|
|00001f00| 65 63 68 20 4e 6f 74 65 | 20 69 73 20 61 20 43 20 |ech Note| is a C |
|00001f10| 68 65 61 64 65 72 20 66 | 69 6c 65 20 66 6f 72 20 |header f|ile for |
|00001f20| 6d 61 6e 79 20 6f 66 20 | 74 68 65 00 00 a1 00 64 |many of |the....d|
|00001f30| 00 10 4f 4e 4c 4e 00 64 | 02 84 01 99 00 7e 01 a7 |..ONLN.d|.....~..|
|00001f40| 01 d2 00 2a 0e 3d 63 6f | 6e 73 74 61 6e 74 73 20 |...*.=co|nstants |
|00001f50| 61 6e 64 20 64 61 74 61 | 20 73 74 72 75 63 74 75 |and data| structu|
|00001f60| 72 65 73 20 20 79 6f 75 | 20 77 69 6c 6c 20 6e 65 |res you| will ne|
|00001f70| 65 64 20 77 68 65 6e 20 | 69 6e 74 65 72 61 63 74 |ed when |interact|
|00001f80| 69 6e 67 00 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 |ing....d|..ONLN.d|
|00001f90| 02 c2 01 a7 00 7e 01 b5 | 01 42 00 2a 0e 20 70 72 |.....~..|.B.*. pr|
|00001fa0| 6f 67 72 61 6d 6d 61 74 | 69 63 61 6c 6c 79 20 77 |ogrammat|ically w|
|00001fb0| 69 74 68 20 44 6f 63 56 | 69 65 77 65 72 2e 00 04 |ith DocV|iewer...|
|00001fc0| 05 00 00 0d 00 0e 00 a1 | 00 64 00 10 4f 4e 4c 4e |........|.d..ONLN|
|00001fd0| 00 64 02 e3 01 c3 00 5a | 01 d3 00 cb 00 28 01 cf |.d.....Z|.....(..|
|00001fe0| 00 5a 10 45 76 65 6e 74 | 20 50 61 72 61 6d 65 74 |.Z.Event| Paramet|
|00001ff0| 65 72 73 00 00 04 00 00 | 00 0d 00 0c 00 a1 00 64 |ers.....|.......d|
|00002000| 00 10 4f 4e 4c 4e 00 64 | 02 f4 01 d9 00 7e 01 e7 |..ONLN.d|.....~..|
|00002010| 01 ee 00 2b 24 14 40 54 | 68 65 20 4c 6f 6f 6b 75 |...+$.@T|he Looku|
|00002020| 70 20 65 76 65 6e 74 20 | 61 63 63 65 70 74 73 20 |p event |accepts |
|00002030| 74 68 72 65 65 20 70 61 | 72 61 6d 65 74 65 72 73 |three pa|rameters|
|00002040| 2e 20 20 54 68 65 73 65 | 20 70 61 72 61 6d 65 74 |. These| paramet|
|00002050| 65 72 73 20 61 72 65 00 | 00 a1 00 64 00 10 4f 4e |ers are.|...d..ON|
|00002060| 4c 4e 00 64 03 35 01 e7 | 00 7e 01 f5 01 ef 00 2a |LN.d.5..|.~.....*|
|00002070| 0e 45 65 6e 63 61 70 73 | 75 6c 61 74 65 64 20 69 |.Eencaps|ulated i|
|00002080| 6e 74 6f 20 61 20 73 69 | 6e 67 6c 65 20 64 61 74 |nto a si|ngle dat|
|00002090| 61 20 73 74 72 75 63 74 | 75 72 65 20 66 6f 72 20 |a struct|ure for |
|000020a0| 74 68 69 73 20 76 65 72 | 73 69 6f 6e 2e 20 20 28 |this ver|sion. (|
|000020b0| 57 65 20 77 69 6c 6c 00 | 00 a1 00 64 00 10 4f 4e |We will.|...d..ON|
|000020c0| 4c 4e 00 64 03 7b 01 f5 | 00 7e 02 03 02 03 00 2a |LN.d.{..|.~.....*|
|000020d0| 0e 47 70 61 72 61 6d 65 | 74 65 72 69 7a 65 20 74 |.Gparame|terize t|
|000020e0| 68 65 6d 20 61 74 20 74 | 68 65 20 41 70 70 6c 65 |hem at t|he Apple|
|000020f0| 20 65 76 65 6e 74 20 6c | 65 76 65 6c 20 66 6f 72 | event l|evel for|
|00002100| 20 74 68 65 20 6e 65 78 | 74 20 72 65 6c 65 61 73 | the nex|t releas|
|00002110| 65 2e 29 20 20 54 68 69 | 73 00 00 a1 00 64 00 10 |e.) Thi|s....d..|
|00002120| 4f 4e 4c 4e 00 64 03 c3 | 02 03 00 7e 02 11 02 02 |ONLN.d..|...~....|
|00002130| 00 2a 0e 47 64 61 74 61 | 20 73 74 72 75 63 74 75 |.*.Gdata| structu|
|00002140| 72 65 20 69 73 20 74 68 | 65 20 6f 6e 6c 79 20 70 |re is th|e only p|
|00002150| 61 72 61 6d 65 74 65 72 | 20 6f 66 20 74 68 65 20 |arameter| of the |
|00002160| 41 70 70 6c 65 20 65 76 | 65 6e 74 2e 20 20 54 68 |Apple ev|ent. Th|
|00002170| 65 20 73 74 72 75 63 74 | 75 72 65 00 00 a1 00 64 |e struct|ure....d|
|00002180| 00 10 4f 4e 4c 4e 00 64 | 04 0b 02 11 00 7e 02 1f |..ONLN.d|.....~..|
|00002190| 00 c5 00 2a 0e 0e 69 73 | 20 64 65 66 69 6e 65 64 |...*..is| defined|
|000021a0| 20 61 73 3a 00 2c 00 0a | 00 16 07 43 6f 75 72 69 | as:.,..|...Couri|
|000021b0| 65 72 00 03 00 16 00 0d | 00 0a 00 a1 00 64 00 10 |er......|.....d..|
|000021c0| 4f 4e 4c 4e 00 64 04 1a | 02 25 00 7e 02 31 00 a8 |ONLN.d..|.%.~.1..|
|000021d0| 00 2a 13 07 74 79 70 65 | 64 65 66 00 00 a1 00 64 |.*..type|def....d|
|000021e0| 00 10 4f 4e 4c 4e 00 64 | 04 22 02 25 00 b4 02 31 |..ONLN.d|.".%...1|
|000021f0| 00 e4 00 29 36 08 73 74 | 72 75 63 74 20 7b 00 a1 |...)6.st|ruct {..|
|00002200| 00 64 00 10 4f 4e 4c 4e | 00 64 04 2c 02 36 00 a2 |.d..ONLN|.d.,.6..|
|00002210| 02 42 00 c6 00 28 02 3f | 00 a2 06 46 53 53 70 65 |.B...(.?|...FSSpe|
|00002220| 63 00 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 04 33 |c....d..|ONLN.d.3|
|00002230| 02 36 00 d8 02 42 00 f6 | 00 29 36 05 61 44 6f 63 |.6...B..|.)6.aDoc|
|00002240| 3b 00 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 04 3b |;....d..|ONLN.d.;|
|00002250| 02 36 01 20 02 42 01 2c | 00 29 48 02 2f 2f 00 a1 |.6. .B.,|.)H.//..|
|00002260| 00 64 00 10 4f 4e 4c 4e | 00 64 04 3e 02 36 01 32 |.d..ONLN|.d.>.6.2|
|00002270| 02 42 01 f8 00 29 12 21 | 46 53 53 70 65 63 20 66 |.B...).!|FSSpec f|
|00002280| 6f 72 20 74 68 65 20 44 | 6f 63 20 74 6f 20 6f 70 |or the D|oc to op|
|00002290| 65 6e 2f 73 65 61 72 63 | 68 00 00 a1 00 64 00 10 |en/searc|h....d..|
|000022a0| 4f 4e 4c 4e 00 64 04 61 | 02 47 00 a2 02 53 00 c6 |ONLN.d.a|.G...S..|
|000022b0| 00 28 02 50 00 a2 06 53 | 74 72 32 35 35 00 00 a1 |.(.P...S|tr255...|
|000022c0| 00 64 00 10 4f 4e 4c 4e | 00 64 04 68 02 47 00 d8 |.d..ONLN|.d.h.G..|
|000022d0| 02 53 01 0e 00 29 36 09 | 61 50 61 74 74 65 72 6e |.S...)6.|aPattern|
|000022e0| 3b 00 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 04 72 |;....d..|ONLN.d.r|
|000022f0| 02 47 01 20 02 53 01 2c | 00 29 48 02 2f 2f 00 a1 |.G. .S.,|.)H.//..|
|00002300| 00 64 00 10 4f 4e 4c 4e | 00 64 04 75 02 47 01 32 |.d..ONLN|.d.u.G.2|
|00002310| 02 53 01 fe 00 29 12 22 | 53 74 72 69 6e 67 20 69 |.S...)."|String i|
|00002320| 6e 20 68 65 61 64 69 6e | 67 20 74 6f 20 66 69 6e |n headin|g to fin|
|00002330| 64 20 28 6c 65 6e 67 74 | 68 20 00 a1 00 64 00 10 |d (lengt|h ...d..|
|00002340| 4f 4e 4c 4e 00 64 04 9f | 02 52 01 20 02 5e 01 68 |ONLN.d..|.R. .^.h|
|00002350| 00 28 02 5b 01 20 0c 2f | 2f 20 70 72 65 66 69 78 |.(.[. ./|/ prefix|
|00002360| 65 64 29 00 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 |ed)....d|..ONLN.d|
|00002370| 04 ad 02 63 00 a2 02 6f | 00 c0 00 28 02 6c 00 a2 |...c...o|...(.l..|
|00002380| 05 73 68 6f 72 74 00 a1 | 00 64 00 10 4f 4e 4c 4e |.short..|.d..ONLN|
|00002390| 00 64 04 b4 02 63 00 d8 | 02 6f 01 2c 00 29 36 0e |.d...c..|.o.,.)6.|
|000023a0| 61 63 63 65 73 73 4c 65 | 76 65 6c 3b 2f 2f 00 a1 |accessLe|vel;//..|
|000023b0| 00 64 00 10 4f 4e 4c 4e | 00 64 04 c3 02 63 01 32 |.d..ONLN|.d...c.2|
|000023c0| 02 6f 01 6e 00 29 5a 0a | 66 69 6e 64 20 6c 65 76 |.o.n.)Z.|find lev|
|000023d0| 65 6c 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 04 cf |el...d..|ONLN.d..|
|000023e0| 02 74 00 7e 02 80 01 c2 | 00 28 02 7d 00 7e 36 7d |.t.~....|.(.}.~6}|
|000023f0| 53 65 65 6b 50 61 72 61 | 6d 52 65 63 2c 20 2a 53 |SeekPara|mRec, *S|
|00002400| 65 65 6b 50 61 72 61 6d | 52 65 63 50 74 72 2c 20 |eekParam|RecPtr, |
|00002410| 2a 2a 53 65 65 6b 50 61 | 72 61 6d 52 65 63 48 61 |**SeekPa|ramRecHa|
|00002420| 6e 64 6c 65 3b 00 00 03 | 00 10 00 0d 00 0c 00 a1 |ndle;...|........|
|00002430| 00 64 00 10 4f 4e 4c 4e | 00 64 05 06 02 85 00 7e |.d..ONLN|.d.....~|
|00002440| 02 93 02 0a 00 2a 12 45 | 54 68 65 20 66 69 72 73 |.....*.E|The firs|
|00002450| 74 20 70 61 72 61 6d 65 | 74 65 72 20 69 73 20 61 |t parame|ter is a|
|00002460| 6e 20 46 53 53 70 65 63 | 20 74 6f 20 74 68 65 20 |n FSSpec| to the |
|00002470| 64 6f 63 75 6d 65 6e 74 | 20 79 6f 75 20 77 69 73 |document| you wis|
|00002480| 68 20 74 6f 20 6f 70 65 | 6e 20 61 6e 64 00 00 a1 |h to ope|n and...|
|00002490| 00 64 00 10 4f 4e 4c 4e | 00 64 05 4c 02 93 00 7e |.d..ONLN|.d.L...~|
|000024a0| 02 a1 02 00 00 2a 0e 45 | 70 65 72 66 6f 72 6d 20 |.....*.E|perform |
|000024b0| 74 68 65 20 6c 6f 6f 6b | 75 70 20 69 6e 2e 20 20 |the look|up in. |
|000024c0| 44 6f 63 56 69 65 77 65 | 72 20 77 69 6c 6c 20 6f |DocViewe|r will o|
|000024d0| 70 65 6e 20 74 68 69 73 | 20 64 6f 63 75 6d 65 6e |pen this| documen|
|000024e0| 74 20 69 66 20 69 74 20 | 69 73 6e 27 74 00 00 a1 |t if it |isn't...|
|000024f0| 00 64 00 10 4f 4e 4c 4e | 00 64 05 92 02 a1 00 7e |.d..ONLN|.d.....~|
|00002500| 02 af 01 d8 00 2a 0e 39 | 61 6c 72 65 61 64 79 20 |.....*.9|already |
|00002510| 6f 70 65 6e 2e 20 20 54 | 68 69 73 20 64 6f 63 75 |open. T|his docu|
|00002520| 6d 65 6e 74 20 6d 75 73 | 74 20 62 65 20 61 20 44 |ment mus|t be a D|
|00002530| 6f 63 56 69 65 77 65 72 | 20 64 6f 63 75 6d 65 6e |ocViewer| documen|
|00002540| 74 00 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 05 cc |t....d..|ONLN.d..|
|00002550| 02 af 00 7e 02 bd 01 1e | 00 2a 0e 1a 28 43 72 65 |...~....|.*..(Cre|
|00002560| 61 74 6f 72 3a 20 48 4c | 58 32 20 54 79 70 65 3a |ator: HL|X2 Type:|
|00002570| 4f 4e 4c 4e 2e 29 00 a1 | 00 64 00 10 4f 4e 4c 4e |ONLN.)..|.d..ONLN|
|00002580| 00 64 05 e6 02 ac 01 1e | 02 ba 01 21 00 28 02 b6 |.d......|...!.(..|
|00002590| 01 1e 01 20 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 |... ...d|..ONLN.d|
|000025a0| 05 e7 02 af 01 21 02 bd | 01 ee 00 2b 03 03 25 20 |.....!..|...+..% |
|000025b0| 49 66 20 79 6f 75 20 70 | 61 73 73 20 61 20 64 6f |If you p|ass a do|
|000025c0| 63 75 6d 65 6e 74 20 74 | 68 61 74 20 64 6f 65 73 |cument t|hat does|
|000025d0| 20 6e 6f 74 00 ff 10 58 | 00 00 00 00 03 18 02 64 | not...X|.......d|
|000025e0| 00 11 02 ff 0c 00 ff ff | ff ff 00 00 00 00 00 00 |........|........|
|000025f0| 00 00 02 64 00 00 03 18 | 00 00 00 00 00 00 00 01 |...d....|........|
|00002600| 00 0a 00 00 00 00 03 18 | 02 64 00 2c 00 0b 00 10 |........|.d.,....|
|00002610| 08 50 61 6c 61 74 69 6e | 6f 00 00 03 00 10 00 0d |.Palatin|o.......|
|00002620| 00 0c 00 2e 00 04 00 00 | 00 00 00 a1 00 64 00 10 |........|.....d..|
|00002630| 4f 4e 4c 4e 00 64 00 00 | 00 48 00 7e 00 56 01 4c |ONLN.d..|.H.~.V.L|
|00002640| 00 2b 7e 52 26 62 65 6c | 6f 6e 67 20 74 6f 20 44 |.+~R&bel|ong to D|
|00002650| 6f 63 56 69 65 77 65 72 | 2c 20 69 74 20 77 69 6c |ocViewer|, it wil|
|00002660| 6c 20 72 65 74 75 72 6e | 20 61 20 00 00 2c 00 0a |l return| a ..,..|
|00002670| 00 16 07 43 6f 75 72 69 | 65 72 00 03 00 16 00 0d |...Couri|er......|
|00002680| 00 0a 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 00 26 |.....d..|ONLN.d.&|
|00002690| 00 49 01 4c 00 55 01 a6 | 00 29 ce 0f 6b 57 72 6f |.I.L.U..|.)..kWro|
|000026a0| 6e 67 46 69 6c 65 54 79 | 70 65 20 00 00 03 00 10 |ngFileTy|pe .....|
|000026b0| 00 0d 00 0c 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 |.......d|..ONLN.d|
|000026c0| 00 35 00 48 01 a6 00 56 | 01 ea 00 29 5a 0d 69 6e |.5.H...V|...)Z.in|
|000026d0| 20 74 68 65 20 27 65 72 | 72 6e 27 00 00 a1 00 64 | the 'er|rn'....d|
|000026e0| 00 10 4f 4e 4c 4e 00 64 | 00 43 00 56 00 7e 00 64 |..ONLN.d|.C.V.~.d|
|000026f0| 01 44 00 28 00 60 00 7e | 23 70 61 72 61 6d 65 74 |.D.(.`.~|#paramet|
|00002700| 65 72 20 6f 66 20 74 68 | 65 20 41 70 70 6c 65 20 |er of th|e Apple |
|00002710| 65 76 65 6e 74 20 72 65 | 70 6c 79 2e 00 a1 00 64 |event re|ply....d|
|00002720| 00 10 4f 4e 4c 4e 00 64 | 00 69 00 6a 00 7e 00 78 |..ONLN.d|.i.j.~.x|
|00002730| 02 01 00 2a 14 43 54 68 | 65 20 73 65 63 6f 6e 64 |...*.CTh|e second|
|00002740| 20 70 61 72 61 6d 65 74 | 65 72 20 69 73 20 74 68 | paramet|er is th|
|00002750| 65 20 68 65 61 64 69 6e | 67 20 79 6f 75 20 77 69 |e headin|g you wi|
|00002760| 73 68 20 44 6f 63 56 69 | 65 77 65 72 20 74 6f 20 |sh DocVi|ewer to |
|00002770| 6c 6f 6f 6b 20 66 6f 72 | 2e 00 00 a1 00 64 00 10 |look for|.....d..|
|00002780| 4f 4e 4c 4e 00 64 00 ae | 00 78 00 7e 00 86 01 e8 |ONLN.d..|.x.~....|
|00002790| 00 2a 0e 41 54 68 69 73 | 20 69 73 20 61 20 73 69 |.*.AThis| is a si|
|000027a0| 6d 70 6c 65 20 50 61 73 | 63 61 6c 2d 73 74 79 6c |mple Pas|cal-styl|
|000027b0| 65 20 73 74 72 69 6e 67 | 20 77 69 74 68 20 61 20 |e string| with a |
|000027c0| 6d 61 78 69 6d 75 6d 20 | 6c 65 6e 67 74 68 20 6f |maximum |length o|
|000027d0| 66 20 32 35 35 00 00 a1 | 00 64 00 10 4f 4e 4c 4e |f 255...|.d..ONLN|
|000027e0| 00 64 00 f0 00 86 00 7e | 00 94 02 07 00 2a 0e 49 |.d.....~|.....*.I|
|000027f0| 63 68 61 72 61 63 74 65 | 72 73 2e 20 20 44 6f 63 |characte|rs. Doc|
|00002800| 56 69 65 77 65 72 20 75 | 73 65 73 20 74 68 69 73 |Viewer u|ses this|
|00002810| 20 73 74 72 69 6e 67 20 | 61 73 20 61 20 70 61 74 | string |as a pat|
|00002820| 74 65 72 6e 20 74 6f 20 | 6d 61 74 63 68 20 61 67 |tern to |match ag|
|00002830| 61 69 6e 73 74 20 74 68 | 65 00 00 a1 00 64 00 10 |ainst th|e....d..|
|00002840| 4f 4e 4c 4e 00 64 01 3a | 00 94 00 7e 00 a2 01 e3 |ONLN.d.:|...~....|
|00002850| 00 2a 0e 3d 64 6f 63 75 | 6d 65 6e 74 27 73 20 54 |.*.=docu|ment's T|
|00002860| 61 62 6c 65 20 6f 66 20 | 43 6f 6e 74 65 6e 74 73 |able of |Contents|
|00002870| 2e 20 20 54 68 65 20 63 | 6f 6d 70 61 72 69 73 6f |. The c|ompariso|
|00002880| 6e 20 69 73 20 61 63 63 | 6f 6d 70 6c 69 73 68 65 |n is acc|omplishe|
|00002890| 64 00 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 01 78 |d....d..|ONLN.d.x|
|000028a0| 00 a2 00 7e 00 b0 01 fd | 00 2a 0e 4b 77 69 74 68 |...~....|.*.Kwith|
|000028b0| 6f 75 74 20 72 65 67 61 | 72 64 20 74 6f 20 63 61 |out rega|rd to ca|
|000028c0| 73 65 20 6f 72 20 64 69 | 61 63 72 69 74 69 63 61 |se or di|acritica|
|000028d0| 6c 20 6d 61 72 6b 73 2e | 20 28 65 2e 67 2e 20 46 |l marks.| (e.g. F|
|000028e0| 41 54 20 3d 3d 20 66 41 | 74 2c 20 20 66 8c 74 20 |AT == fA|t, f.t |
|000028f0| 3d 20 66 61 74 29 2e 00 | 00 a1 00 64 00 10 4f 4e |= fat)..|...d..ON|
|00002900| 4c 4e 00 64 01 c5 00 b0 | 00 7e 00 be 01 d8 00 2a |LN.d....|.~.....*|
|00002910| 0e 40 49 66 20 74 68 65 | 20 73 74 72 69 6e 67 20 |.@If the| string |
|00002920| 79 6f 75 20 70 61 73 73 | 20 69 6e 20 69 73 6e 27 |you pass| in isn'|
|00002930| 74 20 66 6f 75 6e 64 20 | 69 6e 20 74 68 65 20 64 |t found |in the d|
|00002940| 6f 63 75 6d 65 6e 74 27 | 73 20 54 61 62 6c 65 20 |ocument'|s Table |
|00002950| 6f 66 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 02 06 |of...d..|ONLN.d..|
|00002960| 00 be 00 7e 00 cc 01 5d | 00 2a 0e 27 43 6f 6e 74 |...~...]|.*.'Cont|
|00002970| 65 6e 74 73 2c 20 74 68 | 65 6e 20 44 6f 63 56 69 |ents, th|en DocVi|
|00002980| 65 77 65 72 20 77 69 6c | 6c 20 72 65 74 75 72 6e |ewer wil|l return|
|00002990| 20 61 20 00 00 03 00 16 | 00 0d 00 0a 00 a1 00 64 | a .....|.......d|
|000029a0| 00 10 4f 4e 4c 4e 00 64 | 02 2d 00 bf 01 5d 00 cb |..ONLN.d|.-...]..|
|000029b0| 01 b7 00 29 df 0f 6b 45 | 6e 74 72 79 4e 6f 74 46 |...)..kE|ntryNotF|
|000029c0| 6f 75 6e 64 20 00 00 03 | 00 10 00 0d 00 0c 00 a1 |ound ...|........|
|000029d0| 00 64 00 10 4f 4e 4c 4e | 00 64 02 3c 00 be 01 b7 |.d..ONLN|.d.<....|
|000029e0| 00 cc 01 d6 00 29 5a 06 | 65 72 72 6f 72 2e 00 a1 |.....)Z.|error...|
|000029f0| 00 64 00 10 4f 4e 4c 4e | 00 64 02 43 00 d2 00 7e |.d..ONLN|.d.C...~|
|00002a00| 00 e0 01 f9 00 28 00 dc | 00 7e 46 54 68 65 20 74 |.....(..|.~FThe t|
|00002a10| 68 69 72 64 20 61 6e 64 | 20 66 69 6e 61 6c 20 70 |hird and| final p|
|00002a20| 61 72 61 6d 65 74 65 72 | 20 69 73 20 75 73 65 64 |arameter| is used|
|00002a30| 20 74 6f 20 71 75 61 6c | 69 66 79 20 74 68 65 20 | to qual|ify the |
|00002a40| 73 65 61 72 63 68 20 70 | 61 74 74 65 72 6e 20 69 |search p|attern i|
|00002a50| 6e 00 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 02 8a |n....d..|ONLN.d..|
|00002a60| 00 e0 00 7e 00 ee 01 f4 | 00 2a 0e 42 74 68 65 20 |...~....|.*.Bthe |
|00002a70| 73 65 63 6f 6e 64 20 70 | 61 72 61 6d 65 74 65 72 |second p|arameter|
|00002a80| 2e 20 20 4f 6e 63 65 20 | 44 6f 63 56 69 65 77 65 |. Once |DocViewe|
|00002a90| 72 20 68 61 73 20 6c 6f | 63 61 74 65 64 20 74 68 |r has lo|cated th|
|00002aa0| 65 20 65 6e 74 72 79 20 | 69 6e 20 74 68 65 00 a1 |e entry |in the..|
|00002ab0| 00 64 00 10 4f 4e 4c 4e | 00 64 02 cd 00 ee 00 7e |.d..ONLN|.d.....~|
|00002ac0| 00 fc 01 f3 00 2a 0e 47 | 54 61 62 6c 65 20 6f 66 |.....*.G|Table of|
|00002ad0| 20 43 6f 6e 74 65 6e 74 | 73 20 69 74 20 77 69 6c | Content|s it wil|
|00002ae0| 6c 20 63 6f 6e 66 69 72 | 6d 20 74 68 61 74 20 74 |l confir|m that t|
|00002af0| 68 65 20 65 6e 74 72 79 | 20 69 73 20 69 6e 20 74 |he entry| is in t|
|00002b00| 68 65 20 6c 65 76 65 6c | 20 6f 66 20 74 68 65 00 |he level| of the.|
|00002b10| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 03 15 00 fc |...d..ON|LN.d....|
|00002b20| 00 7e 01 0a 01 29 00 2a | 0e 1f 54 4f 43 20 68 69 |.~...).*|..TOC hi|
|00002b30| 65 72 61 72 63 68 79 20 | 73 70 65 63 69 66 69 65 |erarchy |specifie|
|00002b40| 64 20 69 6e 20 74 68 65 | 20 00 00 03 00 16 00 0d |d in the| .......|
|00002b50| 00 0a 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 03 34 |.....d..|ONLN.d.4|
|00002b60| 00 fd 01 29 01 09 01 6b | 00 29 ab 0b 61 63 63 65 |...)...k|.)..acce|
|00002b70| 73 73 4c 65 76 65 6c 00 | 00 03 00 10 00 0d 00 0c |ssLevel.|........|
|00002b80| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 03 3f 00 fc |...d..ON|LN.d.?..|
|00002b90| 01 6b 01 0a 02 01 00 29 | 42 1b 20 66 69 65 6c 64 |.k.....)|B. field|
|00002ba0| 2e 20 20 44 6f 63 56 69 | 65 77 65 72 20 73 75 70 |. DocVi|ewer sup|
|00002bb0| 70 6f 72 74 73 00 00 a1 | 00 64 00 10 4f 4e 4c 4e |ports...|.d..ONLN|
|00002bc0| 00 64 03 5b 01 0a 00 7e | 01 18 01 ac 00 28 01 14 |.d.[...~|.....(..|
|00002bd0| 00 7e 38 73 65 76 65 6e | 20 6c 65 76 65 6c 73 20 |.~8seven| levels |
|00002be0| 6f 66 20 68 69 65 72 61 | 72 63 68 79 2e 20 20 54 |of hiera|rchy. T|
|00002bf0| 68 65 79 20 61 72 65 20 | 64 65 66 69 6e 65 64 20 |hey are |defined |
|00002c00| 61 73 20 66 6f 6c 6c 6f | 77 73 3a 00 00 03 00 16 |as follo|ws:.....|
|00002c10| 00 0d 00 0a 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 |.......d|..ONLN.d|
|00002c20| 03 94 01 1e 00 7e 01 2a | 00 a8 00 2a 13 07 23 64 |.....~.*|...*..#d|
|00002c30| 65 66 69 6e 65 00 00 a1 | 00 64 00 10 4f 4e 4c 4e |efine...|.d..ONLN|
|00002c40| 00 64 03 9d 01 1e 00 b4 | 01 2a 01 0e 00 29 36 0f |.d......|.*...)6.|
|00002c50| 6b 46 69 72 73 74 4c 65 | 76 65 6c 48 69 65 72 00 |kFirstLe|velHier.|
|00002c60| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 03 af 01 1e |...d..ON|LN.d....|
|00002c70| 01 32 01 2a 01 38 00 29 | 7e 01 31 00 00 a1 00 64 |.2.*.8.)|~.1....d|
|00002c80| 00 10 4f 4e 4c 4e 00 64 | 03 b1 01 29 00 7e 01 35 |..ONLN.d|...).~.5|
|00002c90| 00 a8 00 28 01 32 00 7e | 07 23 64 65 66 69 6e 65 |...(.2.~|.#define|
|00002ca0| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 03 ba 01 29 |...d..ON|LN.d...)|
|00002cb0| 00 b4 01 35 01 14 00 29 | 36 10 6b 53 65 63 6f 6e |...5...)|6.kSecon|
|00002cc0| 64 4c 65 76 65 6c 48 69 | 65 72 00 a1 00 64 00 10 |dLevelHi|er...d..|
|00002cd0| 4f 4e 4c 4e 00 64 03 cc | 01 29 01 32 01 35 01 38 |ONLN.d..|.).2.5.8|
|00002ce0| 00 29 7e 01 32 00 00 a1 | 00 64 00 10 4f 4e 4c 4e |.)~.2...|.d..ONLN|
|00002cf0| 00 64 03 ce 01 34 00 7e | 01 40 00 a8 00 28 01 3d |.d...4.~|.@...(.=|
|00002d00| 00 7e 07 23 64 65 66 69 | 6e 65 00 a1 00 64 00 10 |.~.#defi|ne...d..|
|00002d10| 4f 4e 4c 4e 00 64 03 d7 | 01 34 00 b4 01 40 01 0e |ONLN.d..|.4...@..|
|00002d20| 00 29 36 0f 6b 54 68 69 | 72 64 4c 65 76 65 6c 48 |.)6.kThi|rdLevelH|
|00002d30| 69 65 72 00 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 |ier....d|..ONLN.d|
|00002d40| 03 e9 01 34 01 32 01 40 | 01 38 00 29 7e 01 33 00 |...4.2.@|.8.)~.3.|
|00002d50| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 03 eb 01 3f |...d..ON|LN.d...?|
|00002d60| 00 7e 01 4b 00 a8 00 28 | 01 48 00 7e 07 23 64 65 |.~.K...(|.H.~.#de|
|00002d70| 66 69 6e 65 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 |fine...d|..ONLN.d|
|00002d80| 03 f4 01 3f 00 b4 01 4b | 01 14 00 29 36 10 6b 46 |...?...K|...)6.kF|
|00002d90| 6f 75 72 74 68 4c 65 76 | 65 6c 48 69 65 72 00 a1 |ourthLev|elHier..|
|00002da0| 00 64 00 10 4f 4e 4c 4e | 00 64 04 06 01 3f 01 32 |.d..ONLN|.d...?.2|
|00002db0| 01 4b 01 38 00 29 7e 01 | 34 00 00 a1 00 64 00 10 |.K.8.)~.|4....d..|
|00002dc0| 4f 4e 4c 4e 00 64 04 08 | 01 4a 00 7e 01 56 00 a8 |ONLN.d..|.J.~.V..|
|00002dd0| 00 28 01 53 00 7e 07 23 | 64 65 66 69 6e 65 00 a1 |.(.S.~.#|define..|
|00002de0| 00 64 00 10 4f 4e 4c 4e | 00 64 04 11 01 4a 00 b4 |.d..ONLN|.d...J..|
|00002df0| 01 56 01 14 00 29 36 10 | 6b 46 69 67 75 72 65 4c |.V...)6.|kFigureL|
|00002e00| 65 76 65 6c 48 69 65 72 | 00 a1 00 64 00 10 4f 4e |evelHier|...d..ON|
|00002e10| 4c 4e 00 64 04 23 01 4a | 01 32 01 56 01 44 00 29 |LN.d.#.J|.2.V.D.)|
|00002e20| 7e 03 32 30 31 00 00 a1 | 00 64 00 10 4f 4e 4c 4e |~.201...|.d..ONLN|
|00002e30| 00 64 04 27 01 55 00 7e | 01 61 00 a8 00 28 01 5e |.d.'.U.~|.a...(.^|
|00002e40| 00 7e 07 23 64 65 66 69 | 6e 65 00 a1 00 64 00 10 |.~.#defi|ne...d..|
|00002e50| 4f 4e 4c 4e 00 64 04 30 | 01 55 00 b4 01 61 01 08 |ONLN.d.0|.U...a..|
|00002e60| 00 29 36 0e 6b 4c 69 73 | 74 4c 65 76 65 6c 48 69 |.)6.kLis|tLevelHi|
|00002e70| 65 72 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 04 42 |er...d..|ONLN.d.B|
|00002e80| 01 55 01 32 01 61 01 44 | 00 29 7e 03 32 30 32 00 |.U.2.a.D|.)~.202.|
|00002e90| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 04 46 01 60 |...d..ON|LN.d.F.`|
|00002ea0| 00 7e 01 6c 00 a8 00 28 | 01 69 00 7e 07 23 64 65 |.~.l...(|.i.~.#de|
|00002eb0| 66 69 6e 65 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 |fine...d|..ONLN.d|
|00002ec0| 04 4f 01 60 00 b4 01 6c | 01 0e 00 29 36 0f 6b 54 |.O.`...l|...)6.kT|
|00002ed0| 61 62 6c 65 4c 65 76 65 | 6c 48 69 65 72 00 00 a1 |ableLeve|lHier...|
|00002ee0| 00 64 00 10 4f 4e 4c 4e | 00 64 04 61 01 60 01 32 |.d..ONLN|.d.a.`.2|
|00002ef0| 01 6c 01 44 00 29 7e 03 | 32 30 33 00 00 03 00 10 |.l.D.)~.|203.....|
|00002f00| 00 0d 00 0c 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 |.......d|..ONLN.d|
|00002f10| 04 65 01 71 00 7e 01 7f | 01 ef 00 28 01 7b 00 7e |.e.q.~..|...(.{.~|
|00002f20| 43 41 6e 20 65 69 67 68 | 74 68 20 63 6f 6e 73 74 |CAn eigh|th const|
|00002f30| 61 6e 74 20 68 61 73 20 | 62 65 65 6e 20 64 65 66 |ant has |been def|
|00002f40| 69 6e 65 64 20 74 68 61 | 74 20 77 69 6c 6c 20 61 |ined tha|t will a|
|00002f50| 6c 6c 6f 77 20 74 68 65 | 20 65 6e 74 72 79 20 74 |llow the| entry t|
|00002f60| 6f 20 62 65 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 |o be...d|..ONLN.d|
|00002f70| 04 a9 01 7f 00 7e 01 8d | 01 fd 00 2a 0e 4a 66 6f |.....~..|...*.Jfo|
|00002f80| 75 6e 64 20 61 74 20 61 | 6e 79 20 6c 65 76 65 6c |und at a|ny level|
|00002f90| 20 69 6e 20 74 68 65 20 | 68 69 65 72 61 72 63 68 | in the |hierarch|
|00002fa0| 79 2e 20 20 49 6e 20 74 | 68 69 73 20 63 61 73 65 |y. In t|his case|
|00002fb0| 2c 20 69 66 20 74 68 65 | 72 65 20 61 72 65 20 64 |, if the|re are d|
|00002fc0| 75 70 6c 69 63 61 74 65 | 00 a1 00 64 00 10 4f 4e |uplicate|...d..ON|
|00002fd0| 4c 4e 00 64 04 f4 01 8d | 00 7e 01 9b 01 47 00 2a |LN.d....|.~...G.*|
|00002fe0| 0e 27 65 6e 74 72 69 65 | 73 20 74 68 65 20 66 69 |.'entrie|s the fi|
|00002ff0| 72 73 74 20 65 6e 74 72 | 79 20 77 69 6c 6c 20 62 |rst entr|y will b|
|00003000| 65 20 63 68 6f 73 65 6e | 2e 00 00 03 00 16 00 0d |e chosen|........|
|00003010| 00 0a 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 05 1c |.....d..|ONLN.d..|
|00003020| 01 a1 00 7e 01 ad 00 a8 | 00 2a 13 07 23 64 65 66 |...~....|.*..#def|
|00003030| 69 6e 65 00 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 |ine....d|..ONLN.d|
|00003040| 05 25 01 a1 00 b4 01 ad | 01 02 00 29 36 0d 6b 41 |.%......|...)6.kA|
|00003050| 6e 79 4c 65 76 65 6c 48 | 69 65 72 00 00 a1 00 64 |nyLevelH|ier....d|
|00003060| 00 10 4f 4e 4c 4e 00 64 | 05 36 01 a1 01 32 01 ad |..ONLN.d|.6...2..|
|00003070| 01 44 00 29 7e 03 39 39 | 39 00 00 03 00 10 00 0d |.D.)~.99|9.......|
|00003080| 00 0c 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 05 3a |.....d..|ONLN.d.:|
|00003090| 01 b2 00 7e 01 c0 01 e0 | 00 28 01 bc 00 7e 41 45 |...~....|.(...~AE|
|000030a0| 61 63 68 20 6f 66 20 74 | 68 65 73 65 20 73 65 6c |ach of t|hese sel|
|000030b0| 65 63 74 6f 72 73 20 69 | 73 20 6d 75 74 75 61 6c |ectors i|s mutual|
|000030c0| 6c 79 20 65 78 63 6c 75 | 73 69 76 65 2c 20 61 6e |ly exclu|sive, an|
|000030d0| 64 20 74 68 65 79 20 63 | 61 6e 6e 6f 74 20 62 65 |d they c|annot be|
|000030e0| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 05 7c 01 c0 |...d..ON|LN.d.|..|
|000030f0| 00 7e 01 ce 01 0b 00 2a | 0e 19 63 6f 6d 62 69 6e |.~.....*|..combin|
|00003100| 65 64 20 28 6f 72 27 64 | 29 20 74 6f 67 65 74 68 |ed (or'd|) togeth|
|00003110| 65 72 2e 00 00 04 05 00 | 00 0d 00 0e 00 a1 00 64 |er......|.......d|
|00003120| 00 10 4f 4e 4c 4e 00 64 | 05 96 01 dc 00 5a 01 ec |..ONLN.d|.....Z..|
|00003130| 00 d1 00 28 01 e8 00 5a | 11 53 65 6e 64 69 6e 67 |...(...Z|.Sending|
|00003140| 20 54 68 65 20 45 76 65 | 6e 74 00 04 03 00 00 0d | The Eve|nt......|
|00003150| 00 0c 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 05 a8 |.....d..|ONLN.d..|
|00003160| 01 f2 00 7e 02 00 01 44 | 00 2b 24 14 1e 4c 61 75 |...~...D|.+$..Lau|
|00003170| 6e 63 68 20 44 6f 63 56 | 69 65 77 65 72 20 77 69 |nch DocV|iewer wi|
|00003180| 74 68 20 44 6f 63 75 6d | 65 6e 74 00 00 04 00 00 |th Docum|ent.....|
|00003190| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 05 c7 02 06 |...d..ON|LN.d....|
|000031a0| 00 7e 02 14 02 01 00 2a | 14 46 54 68 65 20 66 69 |.~.....*|.FThe fi|
|000031b0| 72 73 74 20 73 74 65 70 | 20 77 68 65 6e 20 73 65 |rst step| when se|
|000031c0| 6e 64 69 6e 67 20 74 68 | 65 20 6c 6f 6f 6b 75 70 |nding th|e lookup|
|000031d0| 20 65 76 65 6e 74 20 69 | 73 20 74 6f 20 73 65 65 | event i|s to see|
|000031e0| 20 69 66 20 44 6f 63 56 | 69 65 77 65 72 20 69 73 | if DocV|iewer is|
|000031f0| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 06 0e 02 14 |...d..ON|LN.d....|
|00003200| 00 7e 02 22 02 0a 00 2a | 0e 45 63 75 72 72 65 6e |.~."...*|.Ecurren|
|00003210| 74 6c 79 20 72 75 6e 6e | 69 6e 67 2e 20 20 54 68 |tly runn|ing. Th|
|00003220| 69 73 20 63 61 6e 20 62 | 65 20 61 63 63 6f 6d 70 |is can b|e accomp|
|00003230| 6c 69 73 68 65 64 20 77 | 69 74 68 20 74 68 65 20 |lished w|ith the |
|00003240| 50 72 6f 63 65 73 73 20 | 6d 61 6e 61 67 65 72 00 |Process |manager.|
|00003250| 00 03 00 16 00 0d 00 0a | 00 a1 00 64 00 10 4f 4e |........|...d..ON|
|00003260| 4c 4e 00 64 06 54 02 23 | 00 7e 02 2f 00 d2 00 2a |LN.d.T.#|.~./...*|
|00003270| 0e 0e 47 65 74 50 72 6f | 63 65 73 73 49 6e 66 6f |..GetPro|cessInfo|
|00003280| 00 03 00 10 00 0d 00 0c | 00 a1 00 64 00 10 4f 4e |........|...d..ON|
|00003290| 4c 4e 00 64 06 62 02 22 | 00 d2 02 30 01 fe 00 29 |LN.d.b."|...0...)|
|000032a0| 54 39 20 72 6f 75 74 69 | 6e 65 2e 20 20 49 66 20 |T9 routi|ne. If |
|000032b0| 44 6f 63 56 69 65 77 65 | 72 20 69 73 20 66 6f 75 |DocViewe|r is fou|
|000032c0| 6e 64 20 69 6e 20 74 68 | 65 20 6c 69 73 74 20 6f |nd in th|e list o|
|000032d0| 66 20 63 75 72 72 65 6e | 74 6c 79 00 00 a1 00 64 |f curren|tly....d|
|000032e0| 00 10 4f 4e 4c 4e 00 64 | 06 9c 02 30 00 7e 02 3e |..ONLN.d|...0.~.>|
|000032f0| 01 d6 00 28 02 3a 00 7e | 3e 72 75 6e 6e 69 6e 67 |...(.:.~|>running|
|00003300| 20 70 72 6f 63 65 73 73 | 65 73 2c 20 79 6f 75 20 | process|es, you |
|00003310| 73 68 6f 75 6c 64 20 63 | 68 65 63 6b 20 74 6f 20 |should c|heck to |
|00003320| 73 65 65 20 74 68 61 74 | 20 74 68 65 20 76 65 72 |see that| the ver|
|00003330| 73 69 6f 6e 20 6f 66 00 | 00 a1 00 64 00 10 4f 4e |sion of.|...d..ON|
|00003340| 4c 4e 00 64 06 db 02 3e | 00 7e 02 4c 02 05 00 2a |LN.d...>|.~.L...*|
|00003350| 0e 49 44 6f 63 56 69 65 | 77 65 72 20 69 73 20 63 |.IDocVie|wer is c|
|00003360| 6f 72 72 65 63 74 20 28 | 31 2e 31 2e 31 29 2e 20 |orrect (|1.1.1). |
|00003370| 20 54 68 69 73 20 63 61 | 6e 20 62 65 20 64 6f 6e | This ca|n be don|
|00003380| 65 20 75 73 69 6e 67 20 | 74 68 65 20 27 76 65 72 |e using |the 'ver|
|00003390| 73 27 20 72 65 73 6f 75 | 72 63 65 00 00 a1 00 64 |s' resou|rce....d|
|000033a0| 00 10 4f 4e 4c 4e 00 64 | 07 25 02 4c 00 7e 02 5a |..ONLN.d|.%.L.~.Z|
|000033b0| 00 bc 00 2a 0e 0b 77 69 | 74 68 20 49 44 20 23 31 |...*..wi|th ID #1|
|000033c0| 2e 00 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 07 32 |.....d..|ONLN.d.2|
|000033d0| 02 60 00 7e 02 6e 01 fa | 00 2a 14 46 49 66 20 44 |.`.~.n..|.*.FIf D|
|000033e0| 6f 63 56 69 65 77 65 72 | 20 69 73 20 6e 6f 74 20 |ocViewer| is not |
|000033f0| 72 75 6e 6e 69 6e 67 2c | 20 69 74 20 69 73 20 6e |running,| it is n|
|00003400| 65 63 65 73 73 61 72 79 | 20 74 6f 20 6c 61 75 6e |ecessary| to laun|
|00003410| 63 68 20 74 68 65 20 61 | 70 70 6c 69 63 61 74 69 |ch the a|pplicati|
|00003420| 6f 6e 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 07 79 |on...d..|ONLN.d.y|
|00003430| 02 6e 00 7e 02 7c 02 06 | 00 2a 0e 45 77 69 74 68 |.n.~.|..|.*.Ewith|
|00003440| 20 74 68 65 20 74 61 72 | 67 65 74 20 64 6f 63 75 | the tar|get docu|
|00003450| 6d 65 6e 74 2e 20 20 49 | 66 20 44 6f 63 56 69 65 |ment. I|f DocVie|
|00003460| 77 65 72 20 69 73 20 6c | 61 75 6e 63 68 65 64 20 |wer is l|aunched |
|00003470| 77 69 74 68 6f 75 74 20 | 72 65 66 65 72 65 6e 63 |without |referenc|
|00003480| 65 00 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 07 bf |e....d..|ONLN.d..|
|00003490| 02 7c 00 7e 02 8a 02 02 | 00 2a 0e 49 74 6f 20 74 |.|.~....|.*.Ito t|
|000034a0| 68 65 20 74 61 72 67 65 | 74 20 64 6f 63 75 6d 65 |he targe|t docume|
|000034b0| 6e 74 2c 20 69 74 20 77 | 69 6c 6c 20 70 72 65 73 |nt, it w|ill pres|
|000034c0| 65 6e 74 20 69 74 73 20 | 64 65 66 61 75 6c 74 20 |ent its |default |
|000034d0| 53 46 47 65 74 46 69 6c | 65 20 64 69 61 6c 6f 67 |SFGetFil|e dialog|
|000034e0| 2c 20 61 6e 64 00 00 a1 | 00 64 00 10 4f 4e 4c 4e |, and...|.d..ONLN|
|000034f0| 00 64 08 09 02 8a 00 7e | 02 98 01 e4 00 2a 0e 43 |.d.....~|.....*.C|
|00003500| 79 6f 75 20 77 69 6c 6c | 20 6e 6f 74 20 62 65 20 |you will| not be |
|00003510| 61 62 6c 65 20 74 6f 20 | 6d 65 73 73 61 67 65 20 |able to |message |
|00003520| 74 68 65 20 61 70 70 6c | 69 63 61 74 69 6f 6e 20 |the appl|ication |
|00003530| 75 6e 74 69 6c 20 74 68 | 65 20 64 69 61 6c 6f 67 |until th|e dialog|
|00003540| 20 69 73 00 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 | is....d|..ONLN.d|
|00003550| 08 4d 02 98 00 7e 02 a6 | 01 df 00 2a 0e 3e 64 69 |.M...~..|...*.>di|
|00003560| 73 6d 69 73 73 65 64 2e | 20 20 46 6f 72 20 69 6e |smissed.| For in|
|00003570| 66 6f 72 6d 61 74 69 6f | 6e 20 6f 6e 20 6c 61 75 |formatio|n on lau|
|00003580| 6e 63 68 69 6e 67 20 61 | 6e 20 61 70 70 6c 69 63 |nching a|n applic|
|00003590| 61 74 69 6f 6e 20 77 69 | 74 68 20 61 00 a1 00 64 |ation wi|th a...d|
|000035a0| 00 10 4f 4e 4c 4e 00 64 | 08 8c 02 a6 00 7e 02 b4 |..ONLN.d|.....~..|
|000035b0| 02 08 00 2a 0e 43 64 6f | 63 75 6d 65 6e 74 20 73 |...*.Cdo|cument s|
|000035c0| 65 65 20 22 4c 61 75 6e | 63 68 77 69 74 68 44 6f |ee "Laun|chwithDo|
|000035d0| 63 22 20 6f 6e 20 74 68 | 65 20 6c 61 74 65 73 74 |c" on th|e latest|
|000035e0| 20 76 65 72 73 69 6f 6e | 20 6f 66 20 74 68 65 20 | version| of the |
|000035f0| 44 65 76 65 6c 6f 70 65 | 72 00 00 a1 00 64 00 10 |Develope|r....d..|
|00003600| 4f 4e 4c 4e 00 64 08 d0 | 02 b4 00 7e 02 c2 01 05 |ONLN.d..|...~....|
|00003610| 00 2a 0e 18 43 44 20 28 | 54 6f 6f 6c 20 43 68 65 |.*..CD (|Tool Che|
|00003620| 73 74 20 45 64 69 74 69 | 6f 6e 29 2e 00 ff 0d 8a |st Editi|on).....|
|00003630| 00 00 00 00 03 18 02 64 | 00 11 02 ff 0c 00 ff ff |.......d|........|
|00003640| ff ff 00 00 00 00 00 00 | 00 00 02 64 00 00 03 18 |........|...d....|
|00003650| 00 00 00 00 00 00 00 01 | 00 0a 00 00 00 00 03 18 |........|........|
|00003660| 02 64 00 2c 00 0b 00 10 | 08 50 61 6c 61 74 69 6e |.d.,....|.Palatin|
|00003670| 6f 00 00 03 00 10 00 0d | 00 0c 00 2e 00 04 00 00 |o.......|........|
|00003680| 00 00 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 00 00 |.....d..|ONLN.d..|
|00003690| 00 48 00 7e 00 56 02 06 | 00 2b 7e 52 47 41 67 61 |.H.~.V..|.+~RGAga|
|000036a0| 69 6e 2c 20 77 68 65 6e | 20 79 6f 75 20 6c 61 75 |in, when| you lau|
|000036b0| 6e 63 68 20 74 68 65 20 | 61 70 70 6c 69 63 61 74 |nch the |applicat|
|000036c0| 69 6f 6e 2c 20 69 74 20 | 69 73 20 6e 65 63 65 73 |ion, it |is neces|
|000036d0| 73 61 72 79 20 74 6f 20 | 63 6f 6e 66 69 72 6d 20 |sary to |confirm |
|000036e0| 74 68 61 74 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 |that...d|..ONLN.d|
|000036f0| 00 48 00 56 00 7e 00 64 | 01 fb 00 2a 0e 45 79 6f |.H.V.~.d|...*.Eyo|
|00003700| 75 20 61 72 65 20 6c 61 | 75 6e 63 68 69 6e 67 20 |u are la|unching |
|00003710| 74 68 65 20 63 6f 72 72 | 65 63 74 20 76 65 72 73 |the corr|ect vers|
|00003720| 69 6f 6e 20 62 79 20 63 | 68 65 63 6b 69 6e 67 20 |ion by c|hecking |
|00003730| 74 68 65 20 63 6f 6e 74 | 65 6e 74 73 20 6f 66 20 |the cont|ents of |
|00003740| 74 68 65 00 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 |the....d|..ONLN.d|
|00003750| 00 8e 00 64 00 7e 00 72 | 01 99 00 2a 0e 33 27 76 |...d.~.r|...*.3'v|
|00003760| 65 72 73 27 20 49 44 20 | 23 31 20 72 65 73 6f 75 |ers' ID |#1 resou|
|00003770| 72 63 65 20 6f 66 20 74 | 68 65 20 44 6f 63 56 69 |rce of t|he DocVi|
|00003780| 65 77 65 72 20 61 70 70 | 6c 69 63 61 74 69 6f 6e |ewer app|lication|
|00003790| 2e 00 00 04 03 00 00 a1 | 00 64 00 10 4f 4e 4c 4e |........|.d..ONLN|
|000037a0| 00 64 00 c2 00 78 00 7e | 00 86 00 d3 00 2a 14 0e |.d...x.~|.....*..|
|000037b0| 53 65 6e 64 20 74 68 65 | 20 45 76 65 6e 74 00 04 |Send the| Event..|
|000037c0| 00 00 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 00 d1 |.....d..|ONLN.d..|
|000037d0| 00 8c 00 7e 00 9a 01 ea | 00 2a 14 3d 4f 6e 63 65 |...~....|.*.=Once|
|000037e0| 20 79 6f 75 20 68 61 76 | 65 20 64 65 74 65 72 6d | you hav|e determ|
|000037f0| 69 6e 65 64 20 74 68 61 | 74 20 44 6f 63 56 69 65 |ined tha|t DocVie|
|00003800| 77 65 72 20 69 73 20 72 | 75 6e 6e 69 6e 67 20 28 |wer is r|unning (|
|00003810| 6f 72 20 79 6f 75 27 76 | 65 00 00 a1 00 64 00 10 |or you'v|e....d..|
|00003820| 4f 4e 4c 4e 00 64 01 0f | 00 9a 00 7e 00 a8 02 02 |ONLN.d..|...~....|
|00003830| 00 2a 0e 47 6c 61 75 6e | 63 68 65 64 20 69 74 29 |.*.Glaun|ched it)|
|00003840| 20 79 6f 75 20 63 61 6e | 20 74 68 65 6e 20 73 65 | you can| then se|
|00003850| 6e 64 20 74 68 65 20 65 | 76 65 6e 74 2e 20 20 53 |nd the e|vent. S|
|00003860| 65 65 20 6c 69 73 74 69 | 6e 67 20 31 20 66 6f 72 |ee listi|ng 1 for|
|00003870| 20 61 6e 20 65 78 61 6d | 70 6c 65 00 00 a1 00 64 | an exam|ple....d|
|00003880| 00 10 4f 4e 4c 4e 00 64 | 01 57 00 a8 00 7e 00 b6 |..ONLN.d|.W...~..|
|00003890| 01 16 00 2a 0e 1c 6f 66 | 20 73 65 6e 64 69 6e 67 |...*..of| sending|
|000038a0| 20 74 68 65 20 27 73 65 | 65 6b 27 20 65 76 65 6e | the 'se|ek' even|
|000038b0| 74 2e 00 04 03 00 00 a1 | 00 64 00 10 4f 4e 4c 4e |t.......|.d..ONLN|
|000038c0| 00 64 01 74 00 bc 00 7e | 00 ca 00 d8 00 2a 14 10 |.d.t...~|.....*..|
|000038d0| 43 68 65 63 6b 20 66 6f | 72 20 45 72 72 6f 72 73 |Check fo|r Errors|
|000038e0| 00 04 00 00 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 |.......d|..ONLN.d|
|000038f0| 01 85 00 d0 00 7e 00 de | 02 04 00 2a 14 48 49 66 |.....~..|...*.HIf|
|00003900| 20 44 6f 63 56 69 65 77 | 65 72 20 63 61 6e 6e 6f | DocView|er canno|
|00003910| 74 20 66 69 6e 64 20 74 | 68 65 20 65 6e 74 72 79 |t find t|he entry|
|00003920| 20 72 65 71 75 65 73 74 | 65 64 2c 20 69 74 20 77 | request|ed, it w|
|00003930| 69 6c 6c 20 72 65 74 75 | 72 6e 20 61 6e 20 65 72 |ill retu|rn an er|
|00003940| 72 6f 72 20 69 6e 00 a1 | 00 64 00 10 4f 4e 4c 4e |ror in..|.d..ONLN|
|00003950| 00 64 01 ce 00 de 00 7e | 00 ec 01 f3 00 2a 0e 45 |.d.....~|.....*.E|
|00003960| 74 68 65 20 72 65 70 6c | 79 20 6f 66 20 74 68 65 |the repl|y of the|
|00003970| 20 41 70 70 6c 65 20 65 | 76 65 6e 74 2e 20 20 53 | Apple e|vent. S|
|00003980| 65 65 20 6c 69 73 74 69 | 6e 67 20 31 20 66 6f 72 |ee listi|ng 1 for|
|00003990| 20 61 6e 20 65 78 61 6d | 70 6c 65 20 6f 66 20 68 | an exam|ple of h|
|000039a0| 6f 77 20 74 6f 00 00 a1 | 00 64 00 10 4f 4e 4c 4e |ow to...|.d..ONLN|
|000039b0| 00 64 02 14 00 ec 00 7e | 00 fa 00 ff 00 2a 0e 17 |.d.....~|.....*..|
|000039c0| 64 65 74 65 72 6d 69 6e | 65 20 74 68 65 73 65 20 |determin|e these |
|000039d0| 65 72 72 6f 72 73 2e 00 | 00 0d 00 09 00 a1 00 64 |errors..|.......d|
|000039e0| 00 10 4f 4e 4c 4e 00 64 | 02 2c 00 ff 00 7e 01 08 |..ONLN.d|.,...~..|
|000039f0| 01 1d 00 2a 10 2a 4c 69 | 73 74 69 6e 67 20 31 20 |...*.*Li|sting 1 |
|00003a00| 2d 20 53 65 6e 64 69 6e | 67 20 74 68 65 20 27 73 |- Sendin|g the 's|
|00003a10| 65 65 6b 27 20 41 70 70 | 6c 65 20 65 76 65 6e 74 |eek' App|le event|
|00003a20| 00 2c 00 0a 00 16 07 43 | 6f 75 72 69 65 72 00 03 |.,.....C|ourier..|
|00003a30| 00 16 00 0d 00 0a 00 a1 | 00 64 00 10 4f 4e 4c 4e |........|.d..ONLN|
|00003a40| 00 64 02 57 01 0b 00 7e | 01 17 00 b4 00 2a 0e 09 |.d.W...~|.....*..|
|00003a50| 2f 2f 4f 70 65 6e 44 6f | 63 00 00 a1 00 64 00 10 |//OpenDo|c....d..|
|00003a60| 4f 4e 4c 4e 00 64 02 61 | 01 16 00 7e 01 22 01 a4 |ONLN.d.a|...~."..|
|00003a70| 00 2a 0b 31 2f 2f 20 54 | 68 69 73 20 72 6f 75 74 |.*.1// T|his rout|
|00003a80| 69 6e 65 20 74 61 6b 65 | 73 20 61 20 70 6f 69 6e |ine take|s a poin|
|00003a90| 74 65 72 20 74 6f 20 61 | 20 53 65 65 6b 50 61 72 |ter to a| SeekPar|
|00003aa0| 61 6d 52 65 63 00 00 a1 | 00 64 00 10 4f 4e 4c 4e |amRec...|.d..ONLN|
|00003ab0| 00 64 02 93 01 21 00 7e | 01 2d 01 b0 00 2a 0b 33 |.d...!.~|.-...*.3|
|00003ac0| 2f 2f 20 61 6e 64 20 73 | 65 6e 64 73 20 69 74 20 |// and s|ends it |
|00003ad0| 74 6f 20 44 6f 63 56 69 | 65 77 65 72 2e 20 20 54 |to DocVi|ewer. T|
|00003ae0| 68 69 73 20 72 6f 75 74 | 69 6e 65 20 61 73 73 75 |his rout|ine assu|
|00003af0| 6d 65 73 00 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 |mes....d|..ONLN.d|
|00003b00| 02 c7 01 2c 00 7e 01 38 | 01 ec 00 2a 0b 3d 2f 2f |...,.~.8|...*.=//|
|00003b10| 20 74 68 61 74 20 79 6f | 75 27 76 65 20 61 6c 72 | that yo|u've alr|
|00003b20| 65 61 64 79 20 63 68 65 | 63 6b 65 64 20 74 6f 20 |eady che|cked to |
|00003b30| 73 65 65 20 69 66 20 44 | 6f 63 56 69 65 77 65 72 |see if D|ocViewer|
|00003b40| 20 69 73 20 72 75 6e 6e | 69 6e 67 00 00 a1 00 64 | is runn|ing....d|
|00003b50| 00 10 4f 4e 4c 4e 00 64 | 03 05 01 37 00 7e 01 43 |..ONLN.d|...7.~.C|
|00003b60| 01 d4 00 2a 0b 39 2f 2f | 20 49 20 72 65 6d 6f 76 |...*.9//| I remov|
|00003b70| 65 64 20 6d 6f 73 74 20 | 74 68 65 20 65 72 72 6f |ed most |the erro|
|00003b80| 72 20 63 68 65 63 6b 69 | 6e 67 20 77 68 65 72 65 |r checki|ng where|
|00003b90| 20 69 74 20 77 61 73 20 | 6f 62 76 69 6f 75 73 00 | it was |obvious.|
|00003ba0| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 03 3f 01 42 |...d..ON|LN.d.?.B|
|00003bb0| 00 7e 01 4e 01 1a 00 2a | 0b 1a 2f 2f 20 74 6f 20 |.~.N...*|..// to |
|00003bc0| 69 6d 70 72 6f 76 65 20 | 72 65 61 64 61 62 69 6c |improve |readabil|
|00003bd0| 69 74 79 2e 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 |ity....d|..ONLN.d|
|00003be0| 03 5a 01 4d 00 7e 01 59 | 01 4a 00 2a 0b 22 4f 53 |.Z.M.~.Y|.J.*."OS|
|00003bf0| 45 72 72 20 4f 70 65 6e | 44 6f 63 28 53 65 65 6b |Err Open|Doc(Seek|
|00003c00| 50 61 72 61 6d 52 65 63 | 20 2a 71 44 61 74 61 29 |ParamRec| *qData)|
|00003c10| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 03 7d 01 58 |...d..ON|LN.d.}.X|
|00003c20| 00 7e 01 64 00 84 00 2a | 0b 01 7b 00 00 a1 00 64 |.~.d...*|..{....d|
|00003c30| 00 10 4f 4e 4c 4e 00 64 | 03 80 01 63 00 90 01 6f |..ONLN.d|...c...o|
|00003c40| 00 ae 00 2b 12 0b 05 4f | 53 45 72 72 00 a1 00 64 |...+...O|SErr...d|
|00003c50| 00 10 4f 4e 4c 4e 00 64 | 03 8b 01 63 00 e1 01 6f |..ONLN.d|...c...o|
|00003c60| 01 29 00 29 51 0c 65 72 | 72 20 3d 20 6e 6f 45 72 |.).)Q.er|r = noEr|
|00003c70| 72 3b 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 03 99 |r;...d..|ONLN.d..|
|00003c80| 01 6e 00 90 01 7a 00 cc | 00 28 01 77 00 90 0a 41 |.n...z..|.(.w...A|
|00003c90| 70 70 6c 65 45 76 65 6e | 74 00 00 a1 00 64 00 10 |ppleEven|t....d..|
|00003ca0| 4f 4e 4c 4e 00 64 03 a5 | 01 6e 00 e1 01 7a 01 3b |ONLN.d..|.n...z.;|
|00003cb0| 00 29 51 0f 6d 79 45 76 | 65 6e 74 2c 20 72 65 70 |.)Q.myEv|ent, rep|
|00003cc0| 6c 79 3b 00 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 |ly;....d|..ONLN.d|
|00003cd0| 03 b6 01 79 00 90 01 85 | 00 b4 00 28 01 82 00 90 |...y....|...(....|
|00003ce0| 06 41 45 44 65 73 63 00 | 00 a1 00 64 00 10 4f 4e |.AEDesc.|...d..ON|
|00003cf0| 4c 4e 00 64 03 c1 01 79 | 00 e1 01 85 01 1d 00 29 |LN.d...y|.......)|
|00003d00| 51 0a 6d 79 41 64 64 72 | 65 73 73 3b 00 a1 00 64 |Q.myAddr|ess;...d|
|00003d10| 00 10 4f 4e 4c 4e 00 64 | 03 cd 01 84 00 90 01 90 |..ONLN.d|........|
|00003d20| 00 a8 00 28 01 8d 00 90 | 04 6c 6f 6e 67 00 00 a1 |...(....|.long...|
|00003d30| 00 64 00 10 4f 4e 4c 4e | 00 64 03 d7 01 84 00 e1 |.d..ONLN|.d......|
|00003d40| 01 90 01 7d 00 29 51 1a | 61 70 70 53 69 67 20 3d |...}.)Q.|appSig =|
|00003d50| 20 6b 44 6f 63 56 69 65 | 77 65 72 41 70 70 53 69 | kDocVie|werAppSi|
|00003d60| 67 3b 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 03 f3 |g;...d..|ONLN.d..|
|00003d70| 01 8f 00 90 01 9b 00 a8 | 00 28 01 98 00 90 04 6c |........|.(.....l|
|00003d80| 6f 6e 67 00 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 |ong....d|..ONLN.d|
|00003d90| 03 fd 01 8f 00 e1 01 9b | 01 53 00 29 51 13 72 65 |........|.S.)Q.re|
|00003da0| 70 6c 79 45 72 72 6f 72 | 20 3d 20 6e 6f 45 72 72 |plyError| = noErr|
|00003db0| 3b 00 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 04 12 |;....d..|ONLN.d..|
|00003dc0| 01 9a 00 90 01 a6 00 a8 | 00 28 01 a3 00 90 04 53 |........|.(.....S|
|00003dd0| 69 7a 65 00 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 |ize....d|..ONLN.d|
|00003de0| 04 1c 01 9a 00 e1 01 a6 | 01 23 00 29 51 0b 61 63 |........|.#.)Q.ac|
|00003df0| 74 75 61 6c 53 69 7a 65 | 3b 00 00 a1 00 64 00 10 |tualSize|;....d..|
|00003e00| 4f 4e 4c 4e 00 64 04 29 | 01 a5 00 90 01 b1 00 c0 |ONLN.d.)|........|
|00003e10| 00 28 01 ae 00 90 08 44 | 65 73 63 54 79 70 65 00 |.(.....D|escType.|
|00003e20| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 04 35 01 a5 |...d..ON|LN.d.5..|
|00003e30| 00 e1 01 b1 01 11 00 29 | 51 08 67 6f 74 54 79 70 |.......)|Q.gotTyp|
|00003e40| 65 3b 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 04 41 |e;...d..|ONLN.d.A|
|00003e50| 01 bb 00 90 01 c7 01 02 | 00 28 01 c4 00 90 13 65 |........|.(.....e|
|00003e60| 72 72 20 3d 20 41 45 43 | 72 65 61 74 65 44 65 73 |rr = AEC|reateDes|
|00003e70| 63 28 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 04 55 |c(...d..|ONLN.d.U|
|00003e80| 01 bb 01 0e 01 c7 01 c8 | 00 29 7e 1f 74 79 70 65 |........|.)~.type|
|00003e90| 41 70 70 6c 53 69 67 6e | 61 74 75 72 65 2c 28 50 |ApplSign|ature,(P|
|00003ea0| 74 72 29 26 61 70 70 53 | 69 67 2c 00 00 a1 00 64 |tr)&appS|ig,....d|
|00003eb0| 00 10 4f 4e 4c 4e 00 64 | 04 7b 01 c6 00 bd 01 d2 |..ONLN.d|.{......|
|00003ec0| 01 5f 00 28 01 cf 00 bd | 1b 73 69 7a 65 6f 66 28 |._.(....|.sizeof(|
|00003ed0| 61 70 70 53 69 67 29 2c | 26 6d 79 41 64 64 72 65 |appSig),|&myAddre|
|00003ee0| 73 73 29 3b 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 |ss);...d|..ONLN.d|
|00003ef0| 04 9a 01 dc 00 90 01 e8 | 01 f8 00 28 01 e5 00 90 |........|...(....|
|00003f00| 3c 65 72 72 20 3d 20 41 | 45 43 72 65 61 74 65 41 |<err = A|ECreateA|
|00003f10| 70 70 6c 65 45 76 65 6e | 74 28 6b 44 6f 63 56 69 |ppleEven|t(kDocVi|
|00003f20| 65 77 65 72 45 76 65 6e | 74 43 6c 61 73 73 2c 20 |ewerEven|tClass, |
|00003f30| 6b 53 65 65 6b 45 76 65 | 6e 74 49 44 2c 00 00 a1 |kSeekEve|ntID,...|
|00003f40| 00 64 00 10 4f 4e 4c 4e | 00 64 04 ea 01 e7 01 29 |.d..ONLN|.d.....)|
|00003f50| 01 f3 01 f5 00 2b 99 0b | 22 26 6d 79 41 64 64 72 |.....+..|"&myAddr|
|00003f60| 65 73 73 2c 20 6b 41 75 | 74 6f 47 65 6e 65 72 61 |ess, kAu|toGenera|
|00003f70| 74 65 52 65 74 75 72 6e | 49 44 2c 00 00 a1 00 64 |teReturn|ID,....d|
|00003f80| 00 10 4f 4e 4c 4e 00 64 | 05 20 01 f2 01 29 01 fe |..ONLN.d|. ...)..|
|00003f90| 01 dd 00 2a 0b 1e 6b 41 | 6e 79 54 72 61 6e 73 61 |...*..kA|nyTransa|
|00003fa0| 63 74 69 6f 6e 49 44 2c | 20 26 6d 79 45 76 65 6e |ctionID,| &myEven|
|00003fb0| 74 20 29 3b 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 |t );...d|..ONLN.d|
|00003fc0| 05 48 02 08 00 90 02 14 | 01 f2 00 28 02 11 00 90 |.H......|...(....|
|00003fd0| 3b 65 72 72 20 3d 20 41 | 45 50 75 74 50 61 72 61 |;err = A|EPutPara|
|00003fe0| 6d 50 74 72 28 20 26 6d | 79 45 76 65 6e 74 2c 20 |mPtr( &m|yEvent, |
|00003ff0| 6b 65 79 53 65 65 6b 50 | 61 72 61 6d 2c 20 74 79 |keySeekP|aram, ty|
|00004000| 70 65 57 69 6c 64 43 61 | 72 64 2c 20 00 a1 00 64 |peWildCa|rd, ...d|
|00004010| 00 10 4f 4e 4c 4e 00 64 | 05 92 02 13 01 0e 02 1f |..ONLN.d|........|
|00004020| 01 e0 00 2b 7e 0b 23 28 | 50 74 72 29 71 44 61 74 |...+~.#(|Ptr)qDat|
|00004030| 61 2c 20 73 69 7a 65 6f | 66 28 53 65 65 6b 50 61 |a, sizeo|f(SeekPa|
|00004040| 72 61 6d 52 65 63 29 20 | 29 3b 00 a1 00 64 00 10 |ramRec) |);...d..|
|00004050| 4f 4e 4c 4e 00 64 05 b7 | 02 29 00 90 02 35 01 a4 |ONLN.d..|.)...5..|
|00004060| 00 28 02 32 00 90 2e 65 | 72 72 20 3d 20 41 45 53 |.(.2...e|rr = AES|
|00004070| 65 6e 64 28 20 26 6d 79 | 45 76 65 6e 74 2c 20 26 |end( &my|Event, &|
|00004080| 72 65 70 6c 79 2c 20 6b | 41 45 57 61 69 74 52 65 |reply, k|AEWaitRe|
|00004090| 70 6c 79 2c 20 00 00 a1 | 00 64 00 10 4f 4e 4c 4e |ply, ...|.d..ONLN|
|000040a0| 00 64 05 f1 02 34 00 e1 | 02 40 01 bf 00 2b 51 0b |.d...4..|.@...+Q.|
|000040b0| 25 6b 41 45 4e 6f 72 6d | 61 6c 50 72 69 6f 72 69 |%kAENorm|alPriori|
|000040c0| 74 79 2c 20 6b 41 45 44 | 65 66 61 75 6c 74 54 69 |ty, kAED|efaultTi|
|000040d0| 6d 65 6f 75 74 2c 00 a1 | 00 64 00 10 4f 4e 4c 4e |meout,..|.d..ONLN|
|000040e0| 00 64 06 22 02 3f 00 e1 | 02 4b 01 23 00 2a 0b 0b |.d.".?..|.K.#.*..|
|000040f0| 6e 69 6c 2c 20 6e 69 6c | 20 29 3b 00 00 a1 00 64 |nil, nil| );....d|
|00004100| 00 10 4f 4e 4c 4e 00 64 | 06 2e 02 55 00 7e 02 61 |..ONLN.d|...U.~.a|
|00004110| 01 62 00 28 02 5e 00 7e | 26 20 20 20 2f 2f 20 43 |.b.(.^.~|& // C|
|00004120| 68 65 63 6b 20 74 6f 20 | 73 65 65 20 69 66 20 79 |heck to |see if y|
|00004130| 6f 75 20 67 6f 74 20 61 | 6e 20 65 72 72 6f 72 00 |ou got a|n error.|
|00004140| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 06 56 02 60 |...d..ON|LN.d.V.`|
|00004150| 00 90 02 6c 02 04 00 2b | 12 0b 3e 65 72 72 20 3d |...l...+|..>err =|
|00004160| 20 41 45 47 65 74 50 61 | 72 61 6d 50 74 72 28 20 | AEGetPa|ramPtr( |
|00004170| 26 72 65 70 6c 79 2c 20 | 6b 65 79 45 72 72 6f 72 |&reply, |keyError|
|00004180| 4e 75 6d 62 65 72 2c 20 | 74 79 70 65 4c 6f 6e 67 |Number, |typeLong|
|00004190| 49 6e 74 65 67 65 72 2c | 20 00 00 a1 00 64 00 10 |Integer,| ....d..|
|000041a0| 4f 4e 4c 4e 00 64 06 a3 | 02 6b 01 0e 02 77 01 b0 |ONLN.d..|.k...w..|
|000041b0| 00 2b 7e 0b 1b 26 67 6f | 74 54 79 70 65 2c 20 28 |.+~..&go|tType, (|
|000041c0| 50 74 72 29 26 72 65 70 | 6c 79 45 72 72 6f 72 2c |Ptr)&rep|lyError,|
|000041d0| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 06 c5 02 76 |...d..ON|LN.d...v|
|000041e0| 00 bd 02 82 00 c9 00 28 | 02 7f 00 bd 02 20 20 00 |.......(|..... .|
|000041f0| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 06 cf 02 76 |...d..ON|LN.d...v|
|00004200| 01 0e 02 82 01 b0 00 29 | 51 1b 73 69 7a 65 6f 66 |.......)|Q.sizeof|
|00004210| 28 6c 6f 6e 67 29 2c 20 | 26 61 63 74 75 61 6c 53 |(long), |&actualS|
|00004220| 69 7a 65 29 3b 00 00 a1 | 00 64 00 10 4f 4e 4c 4e |ize);...|.d..ONLN|
|00004230| 00 64 06 ec 02 81 00 90 | 02 8d 01 f8 00 28 02 8a |.d......|.....(..|
|00004240| 00 90 3c 2f 2f 20 53 70 | 65 63 69 61 6c 20 63 61 |..<// Sp|ecial ca|
|00004250| 73 65 20 6f 6e 20 41 45 | 44 65 73 63 4e 6f 74 46 |se on AE|DescNotF|
|00004260| 6f 75 6e 64 20 62 65 63 | 61 75 73 65 20 77 65 27 |ound bec|ause we'|
|00004270| 6c 6c 20 67 65 74 20 61 | 6e 20 65 72 72 6f 72 00 |ll get a|n error.|
|00004280| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 07 2a 02 8c |...d..ON|LN.d.*..|
|00004290| 00 90 02 98 01 6e 00 2a | 0b 25 2f 2f 20 69 66 20 |.....n.*|.%// if |
|000042a0| 74 68 65 72 65 20 69 73 | 20 6e 6f 20 65 72 72 6f |there is| no erro|
|000042b0| 72 20 69 6e 20 74 68 65 | 20 72 65 70 6c 79 2e 00 |r in the| reply..|
|000042c0| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 07 51 02 97 |...d..ON|LN.d.Q..|
|000042d0| 00 90 02 a3 01 b6 00 2a | 0b 31 69 66 20 28 28 65 |.......*|.1if ((e|
|000042e0| 72 72 20 21 3d 20 6e 6f | 45 72 72 29 20 26 26 20 |rr != no|Err) && |
|000042f0| 28 65 72 72 20 21 3d 20 | 65 72 72 41 45 44 65 73 |(err != |errAEDes|
|00004300| 63 4e 6f 74 46 6f 75 6e | 64 29 29 00 00 a1 00 64 |cNotFoun|d))....d|
|00004310| 00 10 4f 4e 4c 4e 00 64 | 07 84 02 a2 00 90 02 ae |..ONLN.d|........|
|00004320| 00 96 00 2a 0b 01 7b 00 | 00 a1 00 64 00 10 4f 4e |...*..{.|...d..ON|
|00004330| 4c 4e 00 64 07 88 02 ad | 00 99 02 b9 00 db 00 2b |LN.d....|.......+|
|00004340| 09 0b 0b 72 65 74 75 72 | 6e 20 65 72 72 3b 00 a1 |...retur|n err;..|
|00004350| 00 64 00 10 4f 4e 4c 4e | 00 64 07 95 02 b8 00 90 |.d..ONLN|.d......|
|00004360| 02 c4 00 96 00 28 02 c1 | 00 90 01 7d 00 a1 00 64 |.....(..|...}...d|
|00004370| 00 10 4f 4e 4c 4e 00 64 | 07 98 02 c3 00 90 02 cf |..ONLN.d|........|
|00004380| 01 b0 00 2a 0b 30 2f 2f | 20 69 66 20 74 68 65 72 |...*.0//| if ther|
|00004390| 65 27 73 20 61 6e 20 65 | 72 72 6f 72 20 66 72 6f |e's an e|rror fro|
|000043a0| 6d 20 44 6f 63 56 69 65 | 77 65 72 20 72 65 74 75 |m DocVie|wer retu|
|000043b0| 72 6e 20 69 74 2e 00 ff | 01 52 00 00 00 00 03 18 |rn it...|.R......|
|000043c0| 02 64 00 11 02 ff 0c 00 | ff ff ff ff 00 00 00 00 |.d......|........|
|000043d0| 00 00 00 00 02 64 00 00 | 03 18 00 00 00 00 00 00 |.....d..|........|
|000043e0| 00 01 00 0a 00 00 00 00 | 03 18 02 64 00 2c 00 0a |........|...d.,..|
|000043f0| 00 16 07 43 6f 75 72 69 | 65 72 00 03 00 16 00 0d |...Couri|er......|
|00004400| 00 0a 00 2e 00 04 00 00 | 00 00 00 a1 00 64 00 10 |........|.....d..|
|00004410| 4f 4e 4c 4e 00 64 00 00 | 00 48 00 90 00 54 01 2c |ONLN.d..|.H...T.,|
|00004420| 00 2b 90 51 1a 2f 2f 20 | 6f 74 68 65 72 77 69 73 |.+.Q.// |otherwis|
|00004430| 65 20 72 65 74 75 72 6e | 20 6e 6f 45 72 72 2e 00 |e return| noErr..|
|00004440| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 00 1c 00 53 |...d..ON|LN.d...S|
|00004450| 00 90 00 5f 01 20 00 2a | 0b 18 69 66 20 28 72 65 |..._. .*|..if (re|
|00004460| 70 6c 79 45 72 72 6f 72 | 20 21 3d 20 6e 6f 45 72 |plyError| != noEr|
|00004470| 72 29 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 00 38 |r)...d..|ONLN.d.8|
|00004480| 00 5e 00 a2 00 6a 01 0e | 00 2b 12 0b 12 72 65 74 |.^...j..|.+...ret|
|00004490| 75 72 6e 20 72 65 70 6c | 79 45 72 72 6f 72 3b 00 |urn repl|yError;.|
|000044a0| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 00 4c 00 69 |...d..ON|LN.d.L.i|
|000044b0| 00 90 00 75 00 a8 00 28 | 00 72 00 90 04 65 6c 73 |...u...(|.r...els|
|000044c0| 65 00 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 00 54 |e....d..|ONLN.d.T|
|000044d0| 00 74 00 a2 00 80 00 f0 | 00 2b 12 0b 0d 72 65 74 |.t......|.+...ret|
|000044e0| 75 72 6e 20 6e 6f 45 72 | 72 3b 00 a1 00 64 00 10 |urn noEr|r;...d..|
|000044f0| 4f 4e 4c 4e 00 64 00 62 | 00 7f 00 7e 00 8b 00 84 |ONLN.d.b|...~....|
|00004500| 00 28 00 88 00 7e 01 7d | 00 ff 00 00 00 00 00 00 |.(...~.}|........|
|00004510| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004520| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004580| 00 00 01 00 00 00 04 77 | 00 00 03 77 00 00 01 22 |.......w|...w..."|
|00004590| 00 00 00 01 0c 52 65 6e | 6f 2c 20 4e 65 76 61 64 |.....Ren|o, Nevad|
|000045a0| 61 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |a.......|........|
|000045b0| 19 44 6f 63 56 69 65 77 | 65 72 20 4c 6f 6f 6b 75 |.DocView|er Looku|
|000045c0| 70 20 54 65 63 68 4e 6f | 74 65 02 00 00 00 4f 4e |p TechNo|te....ON|
|000045d0| 00 00 4f 4e 4c 4e 48 4c | 58 32 01 00 ff ff ff ff |..ONLNHL|X2......|
|000045e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000045f0| 00 00 aa ac 7c bd 00 00 | 44 8a 00 00 05 99 00 00 |....|...|D.......|
|00004600| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004610| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004620| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004630| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004640| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004670| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004680| 00 00 00 40 00 00 17 24 | 00 00 0e 32 00 00 00 00 |...@...$|...2....|
|00004690| 00 00 06 0b 00 00 25 56 | 00 00 10 58 00 00 06 0d |......%V|...X....|
|000046a0| 00 00 0e f4 00 00 35 ae | 00 00 0d 8a 00 00 0e f6 |......5.|........|
|000046b0| 00 00 16 bd 00 00 43 38 | 00 00 01 52 00 00 16 c0 |......C8|...R....|
|000046c0| 00 00 17 22 00 00 00 52 | 00 00 00 00 00 00 00 00 |..."...R|........|
|000046d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000046e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000046f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004700| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 17 24 |........|.......$|
|00004710| 00 00 17 24 00 00 2d 66 | 00 04 00 00 00 1a 00 05 |...$..-f|........|
|00004720| 00 01 00 04 00 00 00 00 | 03 18 02 64 00 00 17 24 |........|...d...$|
|00004730| 00 00 2d 66 00 00 00 00 | 00 00 00 00 00 00 00 02 |..-f....|........|
|00004740| 00 00 00 00 00 d8 00 01 | 00 00 00 00 ff ff 00 02 |........|........|
|00004750| 00 00 00 01 ff ff 00 03 | 00 00 00 02 ff ff 00 04 |........|........|
|00004760| 00 00 00 03 ff ff 00 05 | 00 00 00 04 ff ff 00 06 |........|........|
|00004770| 00 00 00 05 ff ff 00 07 | 00 00 00 06 ff ff 00 08 |........|........|
|00004780| 00 00 00 07 ff ff 00 09 | 00 00 00 08 ff ff 00 0a |........|........|
|00004790| 00 00 00 09 ff ff 00 0b | 00 00 00 0a ff ff 00 0c |........|........|
|000047a0| 00 00 00 0b ff ff 00 0d | 00 00 00 0c ff ff 00 0e |........|........|
|000047b0| 00 00 00 0d ff ff 00 0f | 00 00 00 0e ff ff 00 10 |........|........|
|000047c0| 00 00 00 0f ff ff 00 11 | 00 00 00 10 ff ff 00 12 |........|........|
|000047d0| 00 00 00 11 ff ff 00 13 | 00 00 00 12 ff ff 00 14 |........|........|
|000047e0| 00 00 00 13 ff ff 00 15 | 00 00 00 14 ff ff 00 16 |........|........|
|000047f0| 00 00 00 15 ff ff 00 17 | 00 00 00 16 ff ff 00 18 |........|........|
|00004800| 00 00 00 17 ff ff 00 19 | 00 00 00 18 ff ff 00 1a |........|........|
|00004810| 00 00 00 19 ff ff ff ff | 00 00 00 1a ff ff 00 00 |........|........|
|00004820| 00 3e 00 1b 07 53 79 6d | 62 6f 6c 73 01 41 01 42 |.>...Sym|bols.A.B|
|00004830| 01 43 01 44 01 45 01 46 | 01 47 01 48 01 49 01 4a |.C.D.E.F|.G.H.I.J|
|00004840| 01 4b 01 4c 01 4d 01 4e | 01 4f 01 50 01 51 01 52 |.K.L.M.N|.O.P.Q.R|
|00004850| 01 53 01 54 01 55 01 56 | 01 57 01 58 01 59 01 5a |.S.T.U.V|.W.X.Y.Z|
|00004860| 00 00 00 00 00 00 01 20 | 00 00 00 00 00 00 00 30 |....... |.......0|
|00004870| 00 00 00 32 00 00 00 3f | 00 00 02 33 00 00 02 45 |...2...?|...3...E|
|00004880| 00 00 02 e3 00 00 02 f4 | 00 00 04 1a 00 00 04 2b |........|.......+|
|00004890| 00 00 04 60 00 00 04 ac | 00 00 04 cf 00 00 05 06 |...`....|........|
|000048a0| 00 00 06 76 00 00 08 50 | 00 00 09 a1 00 00 0a 72 |...v...P|.......r|
|000048b0| 00 00 0b 29 00 00 0b 47 | 00 00 0b a3 00 00 0b b5 |...)...G|........|
|000048c0| 00 00 0b d4 00 00 0d 3f | 00 00 0e f6 00 00 0f b8 |.......?|........|
|000048d0| 00 00 0f c7 00 00 10 6a | 00 00 10 7b 00 00 11 22 |.......j|...{..."|
|000048e0| 00 00 11 4d 00 00 11 57 | 00 00 11 89 00 00 11 bd |...M...W|........|
|000048f0| 00 00 11 fb 00 00 12 35 | 00 00 12 50 00 00 12 73 |.......5|...P...s|
|00004900| 00 00 12 75 00 00 12 8e | 00 00 12 ab 00 00 12 c2 |...u....|........|
|00004910| 00 00 12 e8 00 00 13 07 | 00 00 13 1e 00 00 13 34 |........|.......4|
|00004920| 00 00 13 36 00 00 13 6b | 00 00 13 8d 00 00 13 8f |...6...k|........|
|00004930| 00 00 13 ce 00 00 14 04 | 00 00 14 35 00 00 14 3d |........|...5...=|
|00004940| 00 00 14 ac 00 00 15 0e | 00 00 15 24 00 00 15 4b |........|...$...K|
|00004950| 00 00 15 b5 00 00 15 e1 | 00 00 16 1f 00 00 16 46 |........|.......F|
|00004960| 00 00 16 79 00 00 16 7c | 00 00 16 8a 00 00 16 8d |...y...||........|
|00004970| 00 00 16 bf 00 00 16 db | 00 00 16 f5 00 00 17 0b |........|........|
|00004980| 00 00 17 11 00 00 17 22 | 00 00 00 08 00 00 00 01 |......."|........|
|00004990| 00 04 00 01 00 00 00 40 | 00 01 00 16 00 16 00 0a |.......@|........|
|000049a0| 00 00 00 10 00 10 00 09 | 00 00 00 10 00 10 00 0c |........|........|
|000049b0| 00 00 00 10 00 10 00 0e | 00 00 00 10 00 10 00 10 |........|........|
|000049c0| 00 00 00 10 00 10 00 11 | 00 00 00 10 00 10 00 12 |........|........|
|000049d0| 00 00 00 10 00 10 00 18 | 00 00 00 13 00 02 08 50 |........|.......P|
|000049e0| 61 6c 61 74 69 6e 6f 07 | 43 6f 75 72 69 65 72 00 |alatino.|Courier.|
|000049f0| 00 00 04 00 00 ff ff 00 | 00 01 00 00 00 04 77 00 |........|......w.|
|00004a00| 00 03 77 00 00 01 22 01 | dc cf e0 1b 2e 00 00 00 |..w...".|........|
|00004a10| 1c 01 22 00 0c 70 61 67 | 65 00 00 00 6a 63 68 70 |.."..pag|e...jchp|
|00004a20| 74 00 00 00 76 62 6f 6f | 6b 00 00 00 82 54 4f 43 |t...vboo|k....TOC|
|00004a30| 20 00 00 00 8e 54 4f 43 | 23 00 00 00 9a 49 44 58 | ....TOC|#....IDX|
|00004a40| 20 00 00 00 a6 49 44 58 | 23 00 00 00 b2 49 44 58 | ....IDX|#....IDX|
|00004a50| 50 00 00 00 be 50 41 52 | 41 00 00 00 ca 46 4f 4c |P....PAR|A....FOL|
|00004a60| 4f 00 00 00 d6 44 43 46 | 4e 00 00 00 e2 44 43 46 |O....DCF|N....DCF|
|00004a70| 23 00 00 00 ee 46 4f 4c | 53 00 00 00 fa 03 e8 ff |#....FOL|S.......|
|00004a80| ff 00 00 00 00 01 dc cf | e8 03 e8 ff ff 00 00 00 |........|........|
|00004a90| 44 01 dc cf cc 03 e8 ff | ff 00 00 00 9a 01 dc cf |D.......|........|
|00004aa0| f0 03 e8 ff ff 00 00 00 | b8 00 00 00 00 03 e8 ff |........|........|
|00004ab0| ff 00 00 00 bc 00 00 00 | 00 03 e8 ff ff 00 00 00 |........|........|
|00004ac0| c2 00 00 00 00 03 e8 ff | ff 00 00 01 9e 00 00 00 |........|........|
|00004ad0| 00 03 e8 ff ff 00 00 01 | e0 00 00 00 00 03 e8 ff |........|........|
|00004ae0| ff 00 00 01 e4 01 dc cc | c8 03 e8 ff ff 00 00 03 |........|........|
|00004af0| 08 01 dc cf e4 03 e8 ff | ff 00 00 03 14 01 dc cc |........|........|
|00004b00| d0 03 e8 ff ff 00 00 03 | 58 01 dc cc c0 03 e8 ff |........|X.......|
|00004b10| ff 00 00 03 6f 01 dc cc | c4 00 00 00 00 00 00 00 |....o...|........|
|00004b20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004b30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004b40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004b50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004b60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004b70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+